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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028700
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-01-20 16:372015-02-19 08:56
ReporterplujanView Statuspublic 
Assigned ToOsmany 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncc993ed9e4c1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028700: Opening main screen after logging out with pending receipts is not correct

DescriptionBefore paying some receipts I logged out. When back logging in, the main screen is shown in an intermediate state between a blank receipt and a ready-to-paid one.

This happens in RR15Q1RC2. On RR14Q3.5 and RR14Q4 it is also failing but in a different way, stuck in the Loading... message after logging.
Steps To Reproduce1. Login in as vallblanca user
2. Create an order for a Backpack 27L (do not pay it)
3. Create an order for a base camp duffel (do not pay it)
4. Go to "Pay Open Tickets" menu option
5. Seek for the two created tickets, select them and click Done
6. Back on the main screen, click the total amount to pay it
7. Select Card as form of payment and enter a value that is higher than the amount to pay.
8. Pay it. A pop up message about overpaying is shown.
9. Cancel that message
10. Click the logout option from the top left menu. A message about loosing pending tickets is shown.
11. Back in the login screen, enter again as vallblanca.

Observed behaviour in RR15Q1RC2: Main screen remains partially as it was before logging out (see screenshot)

Observed behaviour in RR14Q4: Logging gets stucked in Loading screen
Web console message shows:
OB.Dal: a success callback threw an exception; Cannot set property 'selectedPayment' of null; "function (){me.updateSession(user);if(callback){callback();}}"; at Object.enyo.kind.dispatch

Observed behaviour in RR14Q3.5: Logging gets stucked in Loading screen. Web console message shows:
 Exception raised in DAL callback. TypeError: Cannot set property 'selectedPayment' of null
TagsNo tags attached.
Attached Filespng file icon LoggingInCancellingReceipts.png [^] (75,143 bytes) 2015-01-20 16:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0074434)
hgbot (developer)
2015-02-12 16:08

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cc993ed9e4c1d0a6763785bba626a6225d718781
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Thu Feb 12 09:07:29 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cc993ed9e4c1d0a6763785bba626a6225d718781 [^]

Fixed issue 28700: Opening main screen after logging out with pending receipts is not corrects.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0074629)
migueldejuana (developer)
2015-02-19 08:56

Tested and reviewed in 260e72a513b6

- Issue History
Date Modified Username Field Change
2015-01-20 16:37 plujan New Issue
2015-01-20 16:37 plujan Assigned To => marvintm
2015-01-20 16:37 plujan File Added: LoggingInCancellingReceipts.png
2015-01-20 16:37 plujan Triggers an Emergency Pack => No
2015-02-10 15:57 Osmany Assigned To marvintm => Osmany
2015-02-12 16:08 hgbot Checkin
2015-02-12 16:08 hgbot Note Added: 0074434
2015-02-12 16:08 hgbot Status new => resolved
2015-02-12 16:08 hgbot Resolution open => fixed
2015-02-12 16:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cc993ed9e4c1d0a6763785bba626a6225d718781 [^]
2015-02-19 08:56 migueldejuana Review Assigned To => migueldejuana
2015-02-19 08:56 migueldejuana Note Added: 0074629
2015-02-19 08:56 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker