Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034952Retail ModulesWeb POSpublic2017-01-13 14:562017-01-20 13:13
javietxe 
jorge-garcia 
highmajorhave not tried
closedfixed 
5
 
RR17Q2 
marvintm
No
0034952: [STORE SERVER 2305] ExternalOrderLoader organization validation is too strict
In the ExternalOrderLoader, when trying to create an order from a organization that is not the organization set in OBContext, the validation doesn't let to continue.
Create an order with the ecommerce web service with an organization that is not the default organization of the user used to authenticate.
Do the validation against the users writable organizations.
No tags attached.
Issue History
2017-01-13 14:56javietxeNew Issue
2017-01-13 14:56javietxeAssigned To => StoreServer
2017-01-13 14:56javietxeResolution time => 1485471600
2017-01-13 14:56javietxeTriggers an Emergency Pack => No
2017-01-13 15:12javietxeCategoryStoreServer => Web POS
2017-01-16 11:09xabiermerinoAssigned ToStoreServer => Retail
2017-01-16 11:43marvintmSummary[STORE SERVER 2305] => [STORE SERVER 2305] ExternalOrderLoader organization validation is too strict
2017-01-17 08:40jorge-garciaStatusnew => scheduled
2017-01-17 08:40jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-18 17:27hgbotCheckin
2017-01-18 17:27hgbotNote Added: 0093709
2017-01-18 17:27hgbotStatusscheduled => resolved
2017-01-18 17:27hgbotResolutionopen => fixed
2017-01-18 17:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/95dc2c5796a9a1d5083cd5a728080099446bddcd [^]
2017-01-18 17:28hgbotCheckin
2017-01-18 17:28hgbotNote Added: 0093710
2017-01-20 13:13marvintmReview Assigned To => marvintm
2017-01-20 13:13marvintmStatusresolved => closed
2017-01-20 13:13marvintmFixed in Version => RR17Q2

Notes
(0093709)
hgbot   
2017-01-18 17:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 95dc2c5796a9a1d5083cd5a728080099446bddcd
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 17 09:18:29 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/95dc2c5796a9a1d5083cd5a728080099446bddcd [^]

Fixed issue 34952: [STORE SERVER 2305] ExternalOrderLoader organization
validation is too strict

The validation now is done using all the writable organization of the context,
instead of the default organization.

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---
(0093710)
hgbot   
2017-01-18 17:28   
Repository: tools/automation/pi-mobile
Changeset: 87368ee01e2c4f859d1936d862a52b18ebd13636
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 17 13:40:26 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/87368ee01e2c4f859d1936d862a52b18ebd13636 [^]

Related to issue 34952: [STORE SERVER 2305] ExternalOrderLoader organization
validation is too strict

Change message error from test RetailOrderLoaderTest in the test case of
testWrongOrg.

---
M src-test/org/openbravo/test/mobile/retail/pack/webservice/tests/orderloader/RetailOrderLoaderTest.java
---