Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011461Openbravo ERPA. Platformpublic2009-11-23 13:452009-12-10 00:00
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0011461: When saving business object in S/C data level then access level exception is thrown for the child object
Take the Form and FromTrl example. Say I do the following:
1) create a Form and FromTrl
2) add the FormTrl to the Form (form.getADFormTrlList().add(formTrl))
3) save the form (the FromTrl being a child is also saved)

Then an access level check exception is thrown, something like: FormTrl must have a client with id=="0").

It seems that the client/org are not set in the object when the check is done.

This only occurs which data which must be stored in client=="0".

gr. Martin
No tags attached.
Issue History
2009-11-23 13:45mtaalNew Issue
2009-11-23 13:45mtaalAssigned To => mtaal
2009-11-23 13:51hgbotCheckin
2009-11-23 13:51hgbotNote Added: 0022112
2009-11-23 13:51hgbotStatusnew => resolved
2009-11-23 13:51hgbotResolutionopen => fixed
2009-11-23 13:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/18ebb927b0fe3fe658a7f0cce24eb626151a369f [^]
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022412
2009-12-09 11:46iperdomoNote Added: 0022573
2009-12-09 11:46iperdomoStatusresolved => closed
2009-12-10 00:00anonymoussf_bug_id0 => 2911681

Notes
(0022112)
hgbot   
2009-11-23 13:51   
Repository: erp/devel/pi
Changeset: 18ebb927b0fe3fe658a7f0cce24eb626151a369f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Nov 23 13:51:19 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/18ebb927b0fe3fe658a7f0cce24eb626151a369f [^]

fixes issue 11461: When saving business object in S/C data level then access level exception is thrown for the child object

---
M src-test/org/openbravo/test/AllAntTaskTests.java
M src-test/org/openbravo/test/AllTests.java
M src-test/org/openbravo/test/AntTaskTests.java
M src/org/openbravo/dal/core/OBInterceptor.java
A src-test/org/openbravo/test/dal/IssuesTest.java
---
(0022412)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---
(0022573)
iperdomo   
2009-12-09 11:46   
Tested on pi @ 8a5985732f45