Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049331 | Modules | Openbravo Business API | public | 2022-05-16 13:56 | 2022-05-20 13:42 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0049331: Can save a data pool selection with a filter that does not belong to the selected entity mapping |
Description | It is possible to save a data pool selection with a filter that does not belong to the selected entity mapping. Note that we have the same problem in the event window when defining a multiple record event.
|
Steps To Reproduce | 1) Go to the [Data Pool Selection] window
2) Create a new record:
- Data Type: Business API
- Data Pool: Read Only
- Entity Mapping: Business Partner
- Export Filter: byBPartnerCategory
3) Save the record
4) Change the Entity Mapping, by selecting a different one, for example Assortment
5) Save the record. WRONG: and invalid configuration is saved because the byBPartnerCategory filter does not belong to the Assorment entity. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049040 | | closed | njimenez | Modules | Improve ApiExporter to make readonly pool usage configurable | related to | feature request | 0049083 | | closed | caristu | Openbravo ERP | Push API: support multi-record events |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-16 13:56 | caristu | New Issue | |
2022-05-16 13:56 | caristu | Assigned To | => caristu |
2022-05-16 18:50 | hgbot | Note Added: 0137351 | |
2022-05-17 13:26 | caristu | Relationship added | related to 0049040 |
2022-05-17 13:26 | caristu | Relationship added | related to 0049083 |
2022-05-18 11:22 | hgbot | Resolution | open => fixed |
2022-05-18 11:22 | hgbot | Status | new => closed |
2022-05-18 11:22 | hgbot | Note Added: 0137413 | |
2022-05-18 11:22 | hgbot | Note Added: 0137414 | |
2022-05-18 11:22 | hgbot | Note Added: 0137415 | |
2022-05-20 13:42 | hgbot | Note Added: 0137578 | |
Notes |
|
(0137351)
|
hgbot
|
2022-05-16 18:50
|
|
|
|
(0137413)
|
hgbot
|
2022-05-18 11:22
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: cf3e4bd160bc92d843425811698bb2055e80e2b2
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 18-05-2022 09:21:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/cf3e4bd160bc92d843425811698bb2055e80e2b2 [^]
fixes BUG-49331: don't allow wrong export filter selection
- Replace the selector reference with a table reference + a
validation to ensure that only export filters that belong to the
currently selected entity mapping can be chosen in the UI. Applied this
change both in the [Data Pool Selection] and [Event] windows.
---
A src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
|
|
|
(0137414)
|
hgbot
|
2022-05-18 11:22
|
|
|
|
(0137415)
|
hgbot
|
2022-05-18 11:22
|
|
|
|
(0137578)
|
hgbot
|
2022-05-20 13:42
|
|
|