Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028108Retail ModulesCopy Retail Storepublic2014-11-06 11:172015-07-28 15:36
adrianromero 
adrianromero 
urgentmajorhave not tried
closedfixed 
5
 
 
mtaal
No
0028108: Copy Store and Copy Terminal fails
The processes Copy Store and Copy Terminal always fail with the following error:

java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$FinancialAccount$Name cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$Terminal$Name
Go to the window POS Terminal, select one of the terminals and tap on the button "Copy Terminal"

Fill in the mandatory parameters and tap on "Done"

The error java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$FinancialAccount$Name cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$Terminal$Name
appears
No tags attached.
related to defect 0028239pi closed aaroncalero Copy Store process fails to execute if non-mandatory fields are left empty 
related to defect 0030442 closed gorkaion Copy Store fails copying roles 
blocks feature request 0028002 closed marvintm Document types should be handled in a different way 
Issue History
2014-11-06 11:17adrianromeroNew Issue
2014-11-06 11:17adrianromeroAssigned To => marvintm
2014-11-06 11:17adrianromeroTriggers an Emergency Pack => No
2014-11-06 11:18adrianromeroRelationship addedblocks 0028002
2014-11-06 11:18adrianromeroReview Assigned To => marvintm
2014-11-06 11:18adrianromeroAssigned Tomarvintm => adrianromero
2014-11-06 12:15hgbotCheckin
2014-11-06 12:15hgbotNote Added: 0071455
2014-11-06 12:15hgbotStatusnew => resolved
2014-11-06 12:15hgbotResolutionopen => fixed
2014-11-06 12:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/b90a91f41ba4852db18c34769451547f7b29e946 [^]
2014-11-16 22:04mtaalReview Assigned Tomarvintm => mtaal
2014-11-16 22:04mtaalNote Added: 0071676
2014-11-16 22:04mtaalStatusresolved => closed
2014-11-20 16:57aaroncaleroRelationship addedrelated to 0028239
2015-07-28 15:36gorkaionIssue cloned0030442
2015-07-28 15:41gorkaionRelationship addedrelated to 0030442

Notes
(0071455)
hgbot   
2014-11-06 12:15   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: b90a91f41ba4852db18c34769451547f7b29e946
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Nov 06 12:15:00 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/b90a91f41ba4852db18c34769451547f7b29e946 [^]

Fixes issue 0028108: Copy Store and Copy Terminal fails
Several class names in Property Handlers has been renamed to avoid errors in instantiation because of collisions of these handler names

---
M src/org/openbravo/retail/copystore/process/DefaultFKPropertiesHandler.java
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0071676)
mtaal   
2014-11-16 22:04   
Reviewed