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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035367
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-02-27 12:332017-03-15 08:50
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revisiondf806b7997dc
ProjectionnoneETAnoneTarget VersionRR17Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelPackaging and release
Regression date2016-12-06
Regression introduced in releasemain
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02c6c8e2af1710fd1ca9e865b55ed7996fe6151a [^]
Triggers an Emergency PackNo
Summary

0035367: Not possible to log in the Web POS if there are resolved errors in the Errors While Importing POS data window

DescriptionSince 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.
Steps To Reproduce- 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.
Proposed SolutionThe query should filter by errors in "Error" status.
TagsNo tags attached.
Attached Filesdiff file icon issue35367.diff [^] (698 bytes) 2017-02-27 12:43 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0035368RR17Q1 closedmarvintm 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 closedmarvintm it is posible to create receipts related with processed cashup 

-  Notes
(0094738)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2017-02-27 12:33 marvintm New Issue
2017-02-27 12:33 marvintm Assigned To => marvintm
2017-02-27 12:33 marvintm Triggers an Emergency Pack => No
2017-02-27 12:33 marvintm Status new => scheduled
2017-02-27 12:34 marvintm Regression level => Packaging and release
2017-02-27 12:34 marvintm Regression date => 2016-12-06
2017-02-27 12:34 marvintm Regression introduced in release => main
2017-02-27 12:34 marvintm Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02c6c8e2af1710fd1ca9e865b55ed7996fe6151a [^]
2017-02-27 12:34 marvintm Relationship added caused by 0034586
2017-02-27 12:43 marvintm File Added: issue35367.diff
2017-03-03 14:33 hgbot Checkin
2017-03-03 14:33 hgbot Note Added: 0094738
2017-03-03 14:33 hgbot Status scheduled => resolved
2017-03-03 14:33 hgbot Resolution open => fixed
2017-03-03 14:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df806b7997dc845ea8eb9d67a1c431a9cc408866 [^]
2017-03-03 14:34 hgbot Checkin
2017-03-03 14:34 hgbot Note Added: 0094739
2017-03-15 08:50 guilleaer Review Assigned To => guilleaer
2017-03-15 08:50 guilleaer Status resolved => closed
2017-03-15 08:50 guilleaer Fixed in Version => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker