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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Copy Retail Storemajoralways2014-11-20 16:562014-12-01 15:13
ReporteraaroncaleroView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revision9f05eb55ba37
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028239: Copy Store process fails to execute if non-mandatory fields are left empty

DescriptionThe Copy Store Process fails to execute with the following error:
java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$PriceListProperties$Name cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$Name
Steps To ReproduceOpen the Copy Retail Store process
Fill in mandatory fields (Store to Copy, Parent Org, Defaults, SK, Name, Country and Terminal SK)
Fill either 'Anonymous Customer' or BP Category
Tap the Done button

The error java.lang.ClassCastException: org.openbravo.retail.copystore.process.DefaultPropertiesHandler$PriceListProperties$Name cannot be cast to org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$Name raises and the process can't finish
Proposed SolutionThere are property handlers with collisioning names. Changing the names of these handlers to ensure they are unique will fix the issue.
TagsNo tags attached.
Attached Files

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

-  Notes
(0071855)
hgbot (developer)
2014-11-20 17:20

Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: 9f05eb55ba37fbc1a9853c87fb88e39b34bb5322
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Thu Nov 20 17:18:46 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/9f05eb55ba37fbc1a9853c87fb88e39b34bb5322 [^]

Fixed issue 28239: Copy Store process fails to execute if non-mandatory fields are left empty

Several class names in Default Property Handlers has been renamed to avoid errors in instantiation because of collisions of these handler names

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0072199)
mtaal (manager)
2014-12-01 15:13

Tested and reviewed

- Issue History
Date Modified Username Field Change
2014-11-20 16:56 aaroncalero New Issue
2014-11-20 16:56 aaroncalero Assigned To => aaroncalero
2014-11-20 16:56 aaroncalero Triggers an Emergency Pack => No
2014-11-20 16:57 aaroncalero Relationship added related to 0028108
2014-11-20 17:20 hgbot Checkin
2014-11-20 17:20 hgbot Note Added: 0071855
2014-11-20 17:20 hgbot Status new => resolved
2014-11-20 17:20 hgbot Resolution open => fixed
2014-11-20 17:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/9f05eb55ba37fbc1a9853c87fb88e39b34bb5322 [^]
2014-12-01 15:13 mtaal Review Assigned To => mtaal
2014-12-01 15:13 mtaal Note Added: 0072199
2014-12-01 15:13 mtaal Status resolved => closed
2014-12-01 15:13 mtaal Fixed in Version => RR15Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker