Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036628 | Openbravo ERP | A. Platform | public | 2017-08-09 13:35 | 2017-09-21 16:49 |
|
Reporter | javietxe | |
Assigned To | alostale | |
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q4 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036628: SERQA 3194 Error when updating the organization of an entity with computed columns |
Description | An error is raised when updating the organization of an entity with computed columns.
An example of the error message:
Entity TABLE SEJ OAKLAND BLANC/NOIR (Product) with organization TEMP BUT BOBIGNY references an entity Product_ComputedColumns (2CEC152714E74A9A9D0B0B9DB625DF0C) through its property _computedColumns but this referenced entity belongs to an organization TEMP BUT AUBIERE ( SUD) which is not part of the natural tree of TEMP BUT BOBIGNY |
Steps To Reproduce | Create a register of any entity with computed columns.
Update it changing the Organization.
When trying to commit, the error is raised. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-08-09 13:35 | javietxe | New Issue | |
2017-08-09 13:35 | javietxe | Assigned To | => platform |
2017-08-09 13:35 | javietxe | OBNetwork customer | => Yes |
2017-08-09 13:35 | javietxe | Modules | => Core |
2017-08-09 13:35 | javietxe | Resolution time | => 1503439200 |
2017-08-09 13:35 | javietxe | Triggers an Emergency Pack | => No |
2017-08-09 15:28 | alostale | Assigned To | platform => alostale |
2017-08-09 15:29 | hgbot | Checkin | |
2017-08-09 15:29 | hgbot | Note Added: 0098460 | |
2017-08-09 15:29 | hgbot | Checkin | |
2017-08-09 15:29 | hgbot | Note Added: 0098461 | |
2017-08-09 15:29 | hgbot | Status | new => resolved |
2017-08-09 15:29 | hgbot | Resolution | open => fixed |
2017-08-09 15:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/79642582d449ac2cfd51b2bdfaf2ae276ff473c2 [^] |
2017-08-09 15:29 | alostale | Review Assigned To | => caristu |
2017-08-11 12:21 | caristu | Note Added: 0098489 | |
2017-08-11 12:21 | caristu | Status | resolved => closed |
2017-08-11 12:21 | caristu | Fixed in Version | => 3.0PR17Q4 |
2017-09-21 16:49 | hudsonbot | Checkin | |
2017-09-21 16:49 | hudsonbot | Note Added: 0099303 | |
2017-09-21 16:49 | hudsonbot | Checkin | |
2017-09-21 16:49 | hudsonbot | Note Added: 0099304 | |
Notes |
|
(0098460)
|
hgbot
|
2017-08-09 15:29
|
|
Repository: erp/devel/pi
Changeset: e6738814dcbe4cd1720ef8ec70f062d1edf61d3e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Aug 09 15:24:46 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e6738814dcbe4cd1720ef8ec70f062d1edf61d3e [^]
related to bug 36628: can't update organization if entity has computed columns
Added test case
---
M src-test/src/org/openbravo/test/security/EntityAccessTest.java
---
|
|
|
(0098461)
|
hgbot
|
2017-08-09 15:29
|
|
Repository: erp/devel/pi
Changeset: 79642582d449ac2cfd51b2bdfaf2ae276ff473c2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Aug 09 15:27:55 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/79642582d449ac2cfd51b2bdfaf2ae276ff473c2 [^]
fixed bug 36628: can't update organization if entity has computed columns
Computed columns organization matches base object's organization, when org in
base one is updated, the one in computed columns does not.
When validating referenced organizations computed columns was included, failing
in this case.
As computed is a virtual entity which client and org properties are just for
convenience and they cannot be updated, it is not necessary to check for organization
correctness.
---
M src/org/openbravo/dal/core/OBInterceptor.java
---
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|