Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008806Openbravo ERPA. Platformpublic2009-04-28 15:262009-06-04 00:00
mtaal 
mtaal 
normalmajoralways
closedfixed 
5
pi 
pi2.50MP1 
Core
No
0008806: AccessLevel.ORGANIZATION ignored when resolving references in import
When importing an xml which has references to records which are defined in tables with AccessLevel.ORGANIZATION are not found. This level is skipped.
No tags attached.
Issue History
2009-04-28 15:26mtaalNew Issue
2009-04-28 15:26mtaalAssigned To => mtaal
2009-04-28 15:26mtaalRegression testing => No
2009-04-28 15:54psarobeNote Added: 0015858
2009-04-28 15:54psarobeStatusnew => feedback
2009-04-28 15:59mtaalNote Added: 0015861
2009-04-28 17:09hgbotCheckin
2009-04-28 17:09hgbotNote Added: 0015870
2009-04-28 17:09hgbotStatusfeedback => resolved
2009-04-28 17:09hgbotResolutionopen => fixed
2009-04-28 17:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f3e5ce67bda84dcbe844e909c35c7c312194d22e [^]
2009-06-03 12:22psarobeStatusresolved => closed
2009-06-04 00:00anonymoussf_bug_id0 => 2800767

Notes
(0015858)
psarobe   
2009-04-28 15:54   
Hi martin,

Can you please give more details on this?, Any examples?
(0015861)
mtaal   
2009-04-28 15:59   
The issue is in the EntityResolver in the resolve method, it determines the search actions (for a record) on the basis of the AccessLevel, AccessLevel.ORGANIZATION was not handled and therefore records in those tables were not found.

I have just found this issue and solved it right away. I need an issue to commit the solution to.

gr. Martin
(0015870)
hgbot   
2009-04-28 17:09   
Repository: erp/devel/pi
Changeset: f3e5ce67bda84dcbe844e909c35c7c312194d22e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 28 17:08:58 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f3e5ce67bda84dcbe844e909c35c7c312194d22e [^]

Fixes issue 8806: AccessLevel.ORGANIZATION ignored when resolving references in import

---
M src/org/openbravo/dal/xml/EntityResolver.java
---