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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030442
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Copy Retail Storemajorhave not tried2015-07-28 15:362015-08-20 14:28
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioneeac29e31b84
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030442: Copy Store fails copying roles

DescriptionThe processes Copy Store fail when copying a Role with the following error

ERROR org.openbravo.retail.copystore.process.CopyStoreProcess - org.openbravo.retail.copystore.process.DefaultPropertiesHandler$RoleProperties$DocTypeRecon cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$TerminalTypeProperties$DocTypeRecon
java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$RoleProperties$DocTypeRecon cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$TerminalTypeProperties$DocTypeRecon
        at org.openbravo.retail.copystore.process.DocTypeRecon$Proxy$_$$_WeldClientProxy.handleProperty(DocTypeRecon$Proxy$_$$_WeldClientProxy.java)
        at org.openbravo.retail.copystore.process.CopyStoreProcess.cloneObject(CopyStoreProcess.java:373)
        at org.openbravo.retail.copystore.process.CopyStoreProcess.createRoles(CopyStoreProcess.java:716)
        at org.openbravo.retail.copystore.process.CopyStoreProcess.fixPermissions(CopyStoreProcess.java:666)
Steps To ReproduceGo to the window Copy Retail Store, fill in all the fields selecting a store to copy that has a role that only has access to that organization.

Fill in the mandatory parameters and tap on "Done"

The error java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$RoleProperties$DocTypeRecon cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$TerminalTypeProperties$DocTypeRecon

appears
Proposed SolutionChange the handler Class name to manage Role Names as in issue 0028108
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028108 closedadrianromero Copy Store and Copy Terminal fails 

-  Notes
(0079105)
hgbot (developer)
2015-07-28 15:40

Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: eeac29e31b843752c04f50ffc237e03660073c8b
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jul 28 15:38:27 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/eeac29e31b843752c04f50ffc237e03660073c8b [^]

Fixed issue 30442.Changed the class name of PropertyHandler for role names.

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---

- Issue History
Date Modified Username Field Change
2015-07-28 15:36 gorkaion New Issue
2015-07-28 15:36 gorkaion Assigned To => gorkaion
2015-07-28 15:36 gorkaion Triggers an Emergency Pack => No
2015-07-28 15:36 gorkaion Issue generated from 0028108
2015-07-28 15:40 hgbot Checkin
2015-07-28 15:40 hgbot Note Added: 0079105
2015-07-28 15:40 hgbot Status new => resolved
2015-07-28 15:40 hgbot Resolution open => fixed
2015-07-28 15:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/eeac29e31b843752c04f50ffc237e03660073c8b [^]
2015-07-28 15:41 gorkaion Relationship added related to 0028108
2015-08-05 08:45 gorkaion Review Assigned To => marvintm
2015-08-20 14:28 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker