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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022191
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2012-11-02 10:492012-12-21 09:37
ReportercaristuView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRMP18
StatusclosedFix in branchFixed in SCM revision820bea56f1b0
ProjectionnoneETAnoneTarget VersionRMP18
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022191: Error if backend organization/warehouse are different from webpos user organization/warehouse

DescriptionIf we are using the ERP and the WebPOS in the same browser instance, and we are logged in the ERP with a user that has a default warehouse or organization different from those established for the WebPOS user, a success message appears in WebPOS but the receipt is not created in the backend.

For example, with the following data:
- ERP Organization: F&B España - Región Norte
- WEbPOs Organization: Tienda

The following error message is appearing in the backend: "ERROR org.openbravo.base.exception.OBException - Entity POS/00037 - 02-11-2012 - Alimentos y Supermercados S.A - 2.04 - 02-11-2012 - - 2.04 (FIN_Payment_ScheduleDetail) with organization F&B España - Región Norte references an entity POS/00037 - 02-11-2012 - Alimentos y Supermercados S.A - 2.04 through its property paymentDetails but this referenced entity belongs to an organization Tienda which is not part of the natural tree of F&B España - Región Norte"
Steps To Reproduce1) Using the same browser instance, log in the WebPOS with user "A"
2) Log in Openbravo ERP and set the current organization and/or warehouse different from those established in the WebPOS configuration for user "A".
3) In WebPOS, create a new receipt and pay it. A success message will appear.
4) Go to the ERP, and verify that the sales order has not been created.
Tagssecurity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022158RMP17 closedjecharri Faillure in cash up 
related to defect 0021163 closedmarvintm Login in the BO or the Web POS with a wrong User 

-  Notes
(0053972)
caristu (manager)
2012-11-02 10:50

Support Ticket: 17776
Resolution Time: 5/12/2012
(0055065)
hgbot (developer)
2012-12-19 10:40

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 820bea56f1b0e5bc99ee7b7ead4e3f88daab2443
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Dec 19 10:40:44 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/820bea56f1b0e5bc99ee7b7ead4e3f88daab2443 [^]

Fixed issue 22191. The context will be set to avoid creating objects in a wrong client/org/user

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0055133)
hgbot (developer)
2012-12-20 17:57

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3a0f078347977c4da32e4352145819a814b97082
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 20 17:55:43 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3a0f078347977c4da32e4352145819a814b97082 [^]

related to issue 22191: Orders are processed correctly when login is done offline and also when the page is refreshed

---
M web/org.openbravo.retail.posterminal/index.html
M web/org.openbravo.retail.posterminal/js/model/terminal.js
---
(0055146)
guilleaer (manager)
2012-12-21 09:37

tested & verified

- Issue History
Date Modified Username Field Change
2012-11-02 10:49 caristu New Issue
2012-11-02 10:49 caristu Assigned To => adrianromero
2012-11-02 10:50 caristu Note Added: 0053972
2012-11-05 16:47 adrianromero Severity major => critical
2012-11-05 16:48 adrianromero Relationship added related to 0022158
2012-11-09 14:56 alostale Relationship added related to 0021163
2012-11-09 14:56 alostale Tag Attached: security
2012-11-09 14:56 alostale Status new => scheduled
2012-11-09 14:56 alostale Assigned To adrianromero => marvintm
2012-11-09 14:56 alostale fix_in_branch => pi
2012-12-05 19:45 adrianromero Severity critical => major
2012-12-05 19:45 adrianromero Target Version => RMP18
2012-12-05 19:45 adrianromero fix_in_branch pi =>
2012-12-19 10:40 hgbot Checkin
2012-12-19 10:40 hgbot Note Added: 0055065
2012-12-19 10:40 hgbot Status scheduled => resolved
2012-12-19 10:40 hgbot Resolution open => fixed
2012-12-19 10:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/820bea56f1b0e5bc99ee7b7ead4e3f88daab2443 [^]
2012-12-20 17:57 hgbot Checkin
2012-12-20 17:57 hgbot Note Added: 0055133
2012-12-21 09:37 guilleaer Note Added: 0055146
2012-12-21 09:37 guilleaer Status resolved => closed
2012-12-21 09:37 guilleaer Fixed in Version => RMP18


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker