Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026956Retail ModulesWeb POSpublic2014-06-26 22:342014-07-21 18:45
shuehner 
szapata 
normalminorhave not tried
closedfixed 
5
 
RR14Q4 
Orekaria
No
0026956: erp-junit test: org.openbravo.test.model.ClassLoaderTest.testModelObject fails with retail
Running erp junit tests against a database having retail installed makes that test fail.

junit.framework.AssertionFailedError: expected:<0> but was:<1>

376134 [main] ERROR org.openbravo.test.model.ClassLoaderTest - 07C527561924468E98D07C6C96EE5E4F : org.openbravo.retail.config.info.SaleProductComplete

Looks like some reference is defined with a associated model object entry pointing to that java class which does not exists.

Looks like this reference was started as a classic 2.50 style selector which that manual java class and then converted to ui selector and that model object entry never removed.
run erp junit test (or at least the classloadertest) against with with retail and check failing tests.
No tags attached.
Issue History
2014-06-26 22:34shuehnerNew Issue
2014-06-26 22:34shuehnerAssigned To => marvintm
2014-06-26 22:34shuehnerTriggers an Emergency Pack => No
2014-07-16 05:05hgbotCheckin
2014-07-16 05:05hgbotNote Added: 0068659
2014-07-16 05:05hgbotStatusnew => resolved
2014-07-16 05:05hgbotResolutionopen => fixed
2014-07-16 05:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.config/rev/81caf2343246e14d3af4b6bd693c22df36c5f6a6 [^]
2014-07-16 12:53shuehnerAssigned Tomarvintm => szapata
2014-07-21 18:45OrekariaReview Assigned To => Orekaria
2014-07-21 18:45OrekariaNote Added: 0068772
2014-07-21 18:45OrekariaStatusresolved => closed
2014-07-21 18:45OrekariaFixed in Version => RR14Q4

Notes
(0068659)
hgbot   
2014-07-16 05:05   
Repository: erp/pmods/org.openbravo.retail.config
Changeset: 81caf2343246e14d3af4b6bd693c22df36c5f6a6
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Jul 16 00:04:40 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.config/rev/81caf2343246e14d3af4b6bd693c22df36c5f6a6 [^]

Fixed issue 26956: Deleted old mapping to a new selector

---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
---
(0068772)
Orekaria   
2014-07-21 18:45   
The test passed in rev. 23995 of pi