Openbravo Issue Tracking System - Modules
View Issue Details
0038237ModulesExternal Data Integrationpublic2018-03-27 17:432018-04-16 09:34
javietxe 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
 
caristu
0038237: SERQA 3917: Error while reprocessing a EDL Request logged in an organization not in the organization tree of the EDL Request
If we try to reprocess an EDL Request created in an organization outside the organization tree and without an import entry, the reprocessing gives an error and the screen is not updated. It stays loading forever.
- Installed the attached module
- Login as Openbravo with the F&B International Group role
- Change the organization to F&B España - Region Norte
- Execute the Create EDL Request process. It will create and EDL Request in the Region Norte organization.
- Delete from the database the import entry of the EDL Request line. This simulates what would happen if a lot of time passes and the import entry is archived and purged.
- Change the organization of the user to F&B US Inc.
- Reprocess the EDL Request. There will be a cross-organization error because the EDL request line belongs to Region Norte and the import entry would belong to US Inc, that is not part of its natural tree.
No tags attached.
related to defect 0038670 closed platform Error in ImportEntryArchiveManager processing OBEDL_Request_Line not part of the natural tree 
related to defect 0041009 closed caristu Archiving of import entries related to reprocessed request lines can fail 
gz org.openbravo.issue38237.tar.gz (2,419) 2018-04-10 22:39
https://issues.openbravo.com/file_download.php?file_id=11721&type=bug
Issue History
2018-03-27 17:43javietxeNew Issue
2018-03-27 17:43javietxeAssigned To => AugustoMauch
2018-03-27 17:43javietxeModules => Core
2018-03-27 17:43javietxeResolution time => 1523311200
2018-03-27 17:43javietxeTriggers an Emergency Pack => No
2018-04-10 21:33hgbotCheckin
2018-04-10 21:33hgbotNote Added: 0103799
2018-04-10 21:33hgbotStatusnew => resolved
2018-04-10 21:33hgbotResolutionopen => fixed
2018-04-10 21:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/ec0aa01519ad1ab68288029beccd44898a099ac6 [^]
2018-04-10 22:33AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16969#r16969
2018-04-10 22:39AugustoMauchFile Added: org.openbravo.issue38237.tar.gz
2018-04-10 22:39AugustoMauchReview Assigned To => caristu
2018-04-11 11:36hgbotCheckin
2018-04-11 11:36hgbotNote Added: 0103805
2018-04-14 14:45hgbotCheckin
2018-04-14 14:45hgbotNote Added: 0103887
2018-04-15 15:05shuehnerNote Added: 0103894
2018-04-16 08:40caristuProjectOpenbravo ERP => Modules
2018-04-16 08:41caristuCategoryA. Platform => External Data Integration
2018-04-16 09:34caristuNote Added: 0103898
2018-04-16 09:34caristuStatusresolved => closed
2018-04-16 17:03caristuNote Edited: 0103898bug_revision_view_page.php?bugnote_id=0103898#r16999
2018-05-31 13:48ALopeteguiRelationship addedrelated to 0038670
2019-06-03 10:26caristuRelationship addedrelated to 0041009

Notes
(0103799)
hgbot   
2018-04-10 21:33   
Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: ec0aa01519ad1ab68288029beccd44898a099ac6
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Apr 10 21:32:59 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/ec0aa01519ad1ab68288029beccd44898a099ac6 [^]

Fixes issue 38237: Allows cross-org between EDL request lines and import entries

Now it is possible that an EDL request line created in an organization X references an import entry that belongs
to an organization Y outside of X`s natural tree.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/externaldata/integration/process/AsynchronousProcessor.java
---
(0103805)
hgbot   
2018-04-11 11:36   
Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: 67cfc87bd605bebd7ee0346fa7f8bbf787ccd922
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 11 11:36:05 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/67cfc87bd605bebd7ee0346fa7f8bbf787ccd922 [^]

Related with issue 38237: Adds missing import

---
M src/org/openbravo/externaldata/integration/process/AsynchronousProcessor.java
---
(0103887)
hgbot   
2018-04-14 14:45   
Repository: erp/pmods/org.openbravo.retail.config
Changeset: 7e16f622864066b2abb530657ec62fce203b868e
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Mar 30 14:12:02 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.config/rev/7e16f622864066b2abb530657ec62fce203b868e [^]

Issue 38237. Delete obsolete callout related ad_model_object_mapping entries.

---
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
---
(0103894)
shuehner   
2018-04-15 15:05   
Note last commit had typo in message and is unrelated -> it belongs to 38257
(0103898)
caristu   
2018-04-16 09:34   
(edited on: 2018-04-16 17:03)
Reviewed. Fixed in version 2.0.500.