Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014402
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2010-09-02 12:192010-09-13 12:38
ReporterjpabloaeView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version2.50MP22
StatusclosedFix in branchFixed in SCM revisionc59596c69f9f
ProjectionnoneETAnoneTarget Version2.50MP22
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision1d662363a99c 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014402: import.sample.data: add an optional parameter to bypass the checkReferencedOrganizations validation

DescriptionCurrently the import.sample.data process runs the checkReferencedOrganizations validation, which is correct.

However started from 2.50MP21 this is causing problems with BigBazaar, which has forces us to disable the validation locally.
Proposed SolutionIt would be nice if the install.source or import.sample.data could be run with an argument to disable this validation, so that we don't have to change anything locally. By default the validation should be enabled, like it currently is.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0014264 closedstaffrm Referenced entity belongs to an organization which is not part of the natural tree 

-  Notes
(0030765)
hgbot (developer)
2010-09-07 14:58

Repository: erp/devel/pi
Changeset: c59596c69f9fc031e40955fe60f46f46989f9946
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Sep 07 13:13:56 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c59596c69f9fc031e40955fe60f46f46989f9946 [^]

Fixed issue 14402. Added a property to bypass the checkReferencedOrganizations check.
The way this works is by setting the disableCheckReferencedOrganizations to true. For example, in import.sample.data:
ant impo.sample.data -DdisableCheckReferencedOrganizations=true

---
M build.xml
M src/build.xml
M src/org/openbravo/dal/core/OBInterceptor.java
M src/org/openbravo/service/db/ImportReferenceDataTask.java
---
(0030771)
hgbot (developer)
2010-09-07 16:04

Repository: erp/devel/pi
Changeset: 12afa365cf10cae573d807de4e5616db20a9f323
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Sep 07 16:03:38 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/12afa365cf10cae573d807de4e5616db20a9f323 [^]

Related to issue 14402. Prevented a NPE in the OBInterceptor when the ThreadLocal was not set

---
M src/org/openbravo/dal/core/OBInterceptor.java
---
(0030790)
hudsonbot (developer)
2010-09-07 20:20

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/c59596c69f9f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d96658b2e9bd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18356.obx [^]
(0030792)
hudsonbot (developer)
2010-09-07 20:20

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/12afa365cf10 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d96658b2e9bd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18356.obx [^]
(0030872)
jpabloae (reporter)
2010-09-08 23:51

Verified by running a full build with the BigBazaar.xml sampledata, as follows:

ant install.source -DdisableCheckReferencedOrganizations=true

So I'm closing the issue.

- Issue History
Date Modified Username Field Change
2010-09-02 12:19 jpabloae New Issue
2010-09-02 12:19 jpabloae Assigned To => mtaal
2010-09-02 12:19 jpabloae Issue Monitored: iciordia
2010-09-02 20:00 iciordia Assigned To mtaal => marvintm
2010-09-07 14:58 hgbot Checkin
2010-09-07 14:58 hgbot Note Added: 0030765
2010-09-07 14:58 hgbot Status new => resolved
2010-09-07 14:58 hgbot Resolution open => fixed
2010-09-07 14:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c59596c69f9fc031e40955fe60f46f46989f9946 [^]
2010-09-07 16:04 hgbot Checkin
2010-09-07 16:04 hgbot Note Added: 0030771
2010-09-07 20:20 hudsonbot Checkin
2010-09-07 20:20 hudsonbot Note Added: 0030790
2010-09-07 20:20 hudsonbot Checkin
2010-09-07 20:20 hudsonbot Note Added: 0030792
2010-09-08 23:51 jpabloae Note Added: 0030872
2010-09-08 23:51 jpabloae Status resolved => closed
2010-09-08 23:51 jpabloae Fixed in Version => 2.50MP22
2010-09-09 00:31 jpabloae Relationship added related to 0014264
2010-09-13 12:38 anonymous sf_bug_id 0 => 3065197


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker