Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032063Openbravo ERPA. Platformpublic2016-01-29 16:472022-02-01 08:09
mtaal 
Triage Platform Base 
normalmajorhave not tried
acknowledgedopen 
5
 
 
Core
No
0032063: References from an object to other objects is not checked when inserting only when updating
When an object A references an object B then when saving A the system should check that B is in the organization tree of the organization of A.

This check is done in the OBInterceptor. This check is enabled when updating but not inserting a new record. This has been explicitly done ([1] code commented out) as an issue needed to be solved. See the linked issue. The issue was solved in 2011 sometime, but the code never got uncommented.

[1]
https://code.openbravo.com/erp/devel/pi/file/2dd2efccfcc6/src/org/openbravo/dal/core/OBInterceptor.java#l227 [^]
See description
No tags attached.
depends on defect 0019273 closed AugustoMauch Different criteria when saving records that contains entities that don't belong to the org tree 
related to feature request 00325703.0PR16Q3 closed alostale allow to define cross-organization references 
Issue History
2016-01-29 16:47mtaalNew Issue
2016-01-29 16:47mtaalAssigned To => platform
2016-01-29 16:47mtaalModules => Core
2016-01-29 16:47mtaalTriggers an Emergency Pack => No
2016-01-29 16:47mtaalRelationship addeddepends on 0019273
2016-02-03 08:16alostaleStatusnew => acknowledged
2016-03-22 10:20alostaleTarget Version3.0PR16Q2 => 3.0PR16Q3
2016-04-01 12:01alostaleRelationship addedrelated to 0032570
2016-06-20 10:56caristuTarget Version3.0PR16Q3 =>
2016-09-30 09:32alostaleNote Added: 0090403
2016-09-30 09:32alostaleTypedefect => design defect
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0090403)
alostale   
2016-09-30 09:32   
Moving to design defect: fixing this issue requires additional considerations on the performance impact it might have.