Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035367Retail ModulesWeb POSpublic2017-02-27 12:332017-03-15 08:50
marvintm 
marvintm 
normalmajoralways
closedfixed 
5
 
RR17Q2RR17Q2 
guilleaer
Packaging and release
2016-12-06
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02c6c8e2af1710fd1ca9e865b55ed7996fe6151a [^]
No
0035367: Not possible to log in the Web POS if there are resolved errors in the Errors While Importing POS data window
Since the change done for this issue: https://issues.openbravo.com/view.php?id=34586, [^] it's no longer possible to log in the Web POS if there are pending errors in the Errors window. This is correct. However, the check also raises in case the errors existed but are now resolved, and this is not correct, as in this case the system is in safe state, and login should be allowed.
- Log in the Web POS.
- Force a cashup error (for example, add "if(1==1) throw new OBException("Boom");" to the ProcessCashClose.java class).
- Execute the cashup process. Notice that the cashup goes to the Errors While Importing POS data window.
- Clear the cache and try to log in the Web POS. Notice that the following message appears: "Error in previous cashup"
- Remove the code which causes the error.
- Save Again the error in the Window. Notice the error changes to "Saved successfully"
- Try to login in the Web POS again. Notice that the same message appears again. This is not correct.
The query should filter by errors in "Error" status.
No tags attached.
depends on backport 0035368RR17Q1 closed marvintm Not possible to log in the Web POS if there are resolved errors in the Errors While Importing POS data window 
caused by defect 0034586 closed marvintm it is posible to create receipts related with processed cashup 
diff issue35367.diff (698) 2017-02-27 12:43
https://issues.openbravo.com/file_download.php?file_id=10497&type=bug
Issue History
2017-02-27 12:33marvintmNew Issue
2017-02-27 12:33marvintmAssigned To => marvintm
2017-02-27 12:33marvintmTriggers an Emergency Pack => No
2017-02-27 12:33marvintmStatusnew => scheduled
2017-02-27 12:34marvintmRegression level => Packaging and release
2017-02-27 12:34marvintmRegression date => 2016-12-06
2017-02-27 12:34marvintmRegression introduced in release => main
2017-02-27 12:34marvintmRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02c6c8e2af1710fd1ca9e865b55ed7996fe6151a [^]
2017-02-27 12:34marvintmRelationship addedcaused by 0034586
2017-02-27 12:43marvintmFile Added: issue35367.diff
2017-03-03 14:33hgbotCheckin
2017-03-03 14:33hgbotNote Added: 0094738
2017-03-03 14:33hgbotStatusscheduled => resolved
2017-03-03 14:33hgbotResolutionopen => fixed
2017-03-03 14:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df806b7997dc845ea8eb9d67a1c431a9cc408866 [^]
2017-03-03 14:34hgbotCheckin
2017-03-03 14:34hgbotNote Added: 0094739
2017-03-15 08:50guilleaerReview Assigned To => guilleaer
2017-03-15 08:50guilleaerStatusresolved => closed
2017-03-15 08:50guilleaerFixed in Version => RR17Q2

Notes
(0094738)
hgbot   
2017-03-03 14:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: df806b7997dc845ea8eb9d67a1c431a9cc408866
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 28 08:16:43 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df806b7997dc845ea8eb9d67a1c431a9cc408866 [^]

Fixed issue 35367. Query to find errors will now get only the non-saved errors.

---
M src/org/openbravo/retail/posterminal/master/Cashup.java
---
(0094739)
hgbot   
2017-03-03 14:34   
Repository: tools/automation/pi-mobile
Changeset: 68ea938d32da63a4e2a20a1d0d1dfb10ae9eb717
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 27 18:47:05 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/68ea938d32da63a4e2a20a1d0d1dfb10ae9eb717 [^]

Related to issue 35367. Adapted test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I34586_CashupErrorLoginRestricted.java
---