Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028086Retail ModulesRetail Configurationpublic2014-11-05 10:272014-11-05 11:29
guillermogil 
guillermogil 
highmajoralways
closedfixed 
30
 
 
marvintm
No
0028086: Copy store fails if it looks for a null value
Copy store fails if it looks for a null value
Save a Payment type without cash differences and with the Leave as Credit field checked.
Create a payment without financial account.
Copy store.
A null pointer execption appears.
Prevent to call isInOrgTree for null values.
No tags attached.
related to feature request 0027722 closed guillermogil Give the possibility to leave a payment method without financial account 
related to defect 0028287 closed guillermogil Copy terminal fails if it looks for a null value 
Issue History
2014-11-05 10:27guillermogilNew Issue
2014-11-05 10:27guillermogilAssigned To => guillermogil
2014-11-05 10:27guillermogilTriggers an Emergency Pack => No
2014-11-05 10:32guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6957#r6957
2014-11-05 10:33guillermogilRelationship addedrelated to 0027722
2014-11-05 10:33guillermogilReview Assigned To => marvintm
2014-11-05 10:34guillermogilIssue Monitored: marvintm
2014-11-05 10:36hgbotCheckin
2014-11-05 10:36hgbotNote Added: 0071415
2014-11-05 10:36hgbotStatusnew => resolved
2014-11-05 10:36hgbotResolutionopen => fixed
2014-11-05 10:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/78f09b25fb027d601a1ab2be618a5e69eb7bd5c1 [^]
2014-11-05 11:29marvintmStatusresolved => closed
2014-11-26 11:01guillermogilRelationship addedrelated to 0028287

Notes
(0071415)
hgbot   
2014-11-05 10:36   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: 78f09b25fb027d601a1ab2be618a5e69eb7bd5c1
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Nov 05 10:35:55 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/78f09b25fb027d601a1ab2be618a5e69eb7bd5c1 [^]

Fixed issue 28086:Copy store fails if it looks for a null value

There can be cases that Copy Store process looks for a null value and a null pointer exception raises.
Just two sanity checks added

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