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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014264
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] J. Demo datamajoralways2010-08-23 09:362010-09-13 12:38
Reportergorka_gilView Statuspublic 
Assigned Tostaffrm 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP20SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014264: Referenced entity belongs to an organization which is not part of the natural tree

DescriptionImporting the sampledata of BigBazaar in 2.50MP20 gives this error:

BUILD FAILED
/tmp/oberp.2.50MP21/OpenbravoERP/build.xml:652: The following error occurred while executing this line:
/tmp/oberp.2.50MP21/OpenbravoERP/build.xml:565: The following error occurred while executing this line:
/tmp/oberp.2.50MP21/OpenbravoERP/src/build.xml:238: org.openbravo.base.exception.OBException: Exception (org.openbravo.base.exception.OBSecurityException: Entity false - Somerled - P - 37915.04 - 30-12-2006 (FinancialMgmtDebtPayment) with organization Connecticut references an entity The South Bank - through its property bankAccount but this referenced entity belongs to an organization California which is not part of the natural tree of Connecticut) while importing from file /tmp/oberp.2.50MP21/OpenbravoERP/referencedata/sampledata/BigBazaar.xml
Steps To Reproduce1.- Place the BigBazaar.xml in the referencedata/sampledata/ directory.
2.- Remove SmallBazaar.xml from this directory
3.- Run an install.source
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00144022.50MP22 closedmarvintm import.sample.data: add an optional parameter to bypass the checkReferencedOrganizations validation 

-  Notes
(0030215)
iciordia (manager)
2010-08-23 09:43

Data in BigBazaar.xml is incorrect: there is a debt-payment in an organization referencing to a bank account in another organization, not included in the natural tree of the original

You can see the wrong record at http://demo.openbravo.com [^] (go to Financial Management >> Receivables and Payables >> Analysis Tools >> Payment Report, and filter by due date from 30-12-2006 to 30-12-2006, Amount from 35.000 to 40.000 and Payable. After Search the report only returns one record. From that record you can navigate to the Generated Settlement where the error is more evident: the debt-payment is linked to organization Connecticut and check that the Bank Account field is invalid ('** -'). If you switch to Grid view you can see that the bank account is 'The South Bank' (linked to organization California)

To fix this particular issue is trivial but to fix the whole dataset could become really complex since there are more cases in which debt-payments in Connecticut reference to bank-accounts in California, and it could happen in many other references.
(0030874)
jpabloae (reporter)
2010-09-09 00:32

Having issue 0014402 resolved, do you agree on considering this as a closed issue?
(0030940)
iciordia (manager)
2010-09-10 14:32

Juanpa, yes, there is no need to do any other change. Closing the issue.

Ismael

- Issue History
Date Modified Username Field Change
2010-08-23 09:36 gorka_gil New Issue
2010-08-23 09:36 gorka_gil Assigned To => adrianromero
2010-08-23 09:41 iciordia Priority high => urgent
2010-08-23 09:43 iciordia Note Added: 0030215
2010-08-23 09:59 jpabloae Issue Monitored: jpabloae
2010-08-23 11:55 gorka_gil Assigned To adrianromero => staffrm
2010-09-09 00:31 jpabloae Relationship added related to 0014397
2010-09-09 00:31 jpabloae Relationship added related to 0014402
2010-09-09 00:31 jpabloae Relationship deleted related to 0014397
2010-09-09 00:32 jpabloae Note Added: 0030874
2010-09-10 14:32 iciordia Note Added: 0030940
2010-09-10 14:32 iciordia Status new => closed
2010-09-10 14:32 iciordia Resolution open => no change required
2010-09-13 12:38 anonymous sf_bug_id 0 => 3065180


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker