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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033934
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajorhave not tried2016-09-09 08:492016-09-09 10:06
ReportermtaalView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in VersionRR16Q4
StatusclosedFix in branchFixed in SCM revisionb75c3a641421
ProjectionnoneETAnoneTarget VersionRR16Q4
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

0033934: Editing organization in backoffice causes exception Property organization not defined

DescriptionWhen editing organization in the backoffice an exception is thrown [1].

[1]
cdb72c84 2016-09-09 06:13:44,817 [TP-Processor2] ERROR org.openbravo.base.util.CheckException - Property organization does not exist for entity Organization
org.openbravo.base.util.CheckException: Property organization does not exist for entity Organization
        at org.openbravo.base.util.Check.isNotNull(Check.java:72)
        at org.openbravo.base.model.Entity.getProperty(Entity.java:568)
        at org.openbravo.base.model.Entity.getProperty(Entity.java:550)
        at org.openbravo.retail.storeserver.synchronization.eventhandler.InvalidOrganizationChangeEventHandler.onUpdate(InvalidOrganizationChangeEventHandler.java:106)
Steps To ReproduceInstall multi-server modules
Restart
Goto organization window, edit and save
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0089862)
hgbot (developer)
2016-09-09 09:11

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b75c3a6414217ce9f48a8246348ab6b3eba1a4e1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Sep 09 09:08:47 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b75c3a6414217ce9f48a8246348ab6b3eba1a4e1 [^]

Fixes issue 33934: Prevents Exception in InvalidOrganizationChangeEventHandler

The problem was that the InvalidOrganizationChangeEventHandler.onUpdate was trying to access the organization property of the modified entity, but the Organization entity does not have an organization property.

To prevent this error, a check has been added to make sure the entity has an organization property.

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/InvalidOrganizationChangeEventHandler.java
---
(0089866)
mtaal (manager)
2016-09-09 10:06

Reviewed and verified

- Issue History
Date Modified Username Field Change
2016-09-09 08:49 mtaal New Issue
2016-09-09 08:49 mtaal Assigned To => AugustoMauch
2016-09-09 08:49 mtaal Triggers an Emergency Pack => No
2016-09-09 09:11 hgbot Checkin
2016-09-09 09:11 hgbot Note Added: 0089862
2016-09-09 09:11 hgbot Status new => resolved
2016-09-09 09:11 hgbot Resolution open => fixed
2016-09-09 09:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b75c3a6414217ce9f48a8246348ab6b3eba1a4e1 [^]
2016-09-09 10:06 mtaal Review Assigned To => mtaal
2016-09-09 10:06 mtaal Note Added: 0089866
2016-09-09 10:06 mtaal Status resolved => closed
2016-09-09 10:06 mtaal Fixed in Version => RR16Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker