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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026957
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2014-06-26 22:372014-07-14 17:30
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchFixed in SCM revision77527f1051ea
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026957: erp-junit test: org.openbravo.test.xml.ClientExportImportTest.testDeleteClient fails in retail db

Descriptionwhen running erp junit test against a db with retail installed that testDeleteClient testcase fails.

Error is:
junit.framework.AssertionFailedError: Referenced object ADClient (id: null / ADClient39363B0921BB4293B48383844325E84C) not present in the xml or in the database.
    at org.openbravo.test.xml.ClientExportImportTest.exportImport(ClientExportImportTest.java:300)
    at org.openbravo.test.xml.ClientExportImportTest.testDeleteClient(ClientExportImportTest.java:225)
    at org.openbravo.test.base.BaseTest.runTest(BaseTest.java:306)

Note: this is easily reproducible.
Take erp+retail pack+sample data

run that testcase in debugger.

You will notice that not the deletion test itself fails but the preperation
which consists of:
a.) export client (working, export qa_testing client always)
b.) import that exported file (to duplicate it)
That import step is what is failing for no apparent reason (at least not yet clear).
Steps To Reproducepi + retail + sampeldata of retail
install.source
run that junit test
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068578)
hgbot (developer)
2014-07-09 23:00

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 77527f1051ea8a17591bc505b5d1328061735365
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Jul 09 17:59:56 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/77527f1051ea8a17591bc505b5d1328061735365 [^]

Fixed issue 26957: added where clause the dataset initial setup

---
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0068628)
adrianromero (manager)
2014-07-14 17:30

Reviewed

- Issue History
Date Modified Username Field Change
2014-06-26 22:37 shuehner New Issue
2014-06-26 22:37 shuehner Assigned To => marvintm
2014-06-26 22:37 shuehner Triggers an Emergency Pack => No
2014-07-09 23:00 hgbot Checkin
2014-07-09 23:00 hgbot Note Added: 0068578
2014-07-09 23:01 hgbot Status new => resolved
2014-07-09 23:01 hgbot Resolution open => fixed
2014-07-09 23:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/77527f1051ea8a17591bc505b5d1328061735365 [^]
2014-07-14 17:30 adrianromero Review Assigned To => adrianromero
2014-07-14 17:30 adrianromero Note Added: 0068628
2014-07-14 17:30 adrianromero Status resolved => closed
2014-07-14 17:30 adrianromero Fixed in Version => RR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker