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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031832
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-01-05 18:212016-03-03 16:58
ReporterOrekariaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision2c5ba1ce192f
ProjectionnoneETAnoneTarget VersionRR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031832: 401 errors

DescriptionWe are getting 401 (unauthorized) errors (most probably due to cashup)

Steps To ReproduceA)
In the modules context
Execute the attached test

java.lang.AssertionError: (1) errors in the browser log:
[2016-01-05T18:17:26+0100] [SEVERE] http://127.0.0.1:8081/openbravo/org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.posterminal.ProcessCashClose [^] 0:0 Failed to load resource: the server responded with a status of 401 (Unauthorized)


B)
The issue can also be shown in the try-retail: https://ci.openbravo.com/job/try-ret-test-oracle-suite3/1137/testReport/junit/org.openbravo.test.mobile.retail.pack.selenium.tests.sharedpaymentmethods/SPMQuotationSharedPayments/test/ [^]

(1) errors in the browser log:
[2016-01-05T12:02:20+0000] [SEVERE] http://127.0.1.1/try-ret-test-oracle-suite3/org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.login.ProfileUtils?authenticationClient=39363B0921BB4293B48383844325E84C&authenticationToken=J7utAlKzChUjLRrZ%2FsP0rg%3D%3D__%3B__E7ovQywJcPLl6oMHag0S5%2FBKlkLGy20pESC5gnh1bKxsQtjtRELsQJadPGXOxypfXnTJCbfJamaT8lSWFaf1v2Ov%2Ba%2B732WmbWcP%2B35pvf1RbDGAT7Fete9S%2B6p221yeo6eoQPvTsuXMcdS7t%2BRqXToEOQrwhrL8BKfYmGAxZ4z6qh35Jl8Y2r6IbejpaYPpm16TX0Xpa2ysKxRdW4maJWGTK7TVMdBcCOr62bV3zvbTwV3eRPuHb4cmv%2FJnNiNL [^] 0:0 Failed to load resource: the server responded with a status of 401 (Unauthorized)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031827 closedjorge-garcia 401 errors 

-  Notes
(0084207)
hgbot (developer)
2016-02-15 16:09

Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 2c5ba1ce192fd9b47a1685d7c5e4155460d9cb13
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 15 10:47:16 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/2c5ba1ce192fd9b47a1685d7c5e4155460d9cb13 [^]

Fixed issue 31832 backport of issue 31827: 401 errors

The problem was that the session could be killed before the synchronization
process has finished.

The solution (specially in the cashup) is to wait to the end of the
synchronization process before the confimation popup (or the POS
hardware manager popup error) is shown.

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---

- Issue History
Date Modified Username Field Change
2016-01-07 10:48 Orekaria Type defect => backport
2016-01-07 10:48 Orekaria Target Version => RR16Q1.1
2016-01-15 12:50 Orekaria Target Version RR16Q1.1 => RR16Q1
2016-02-15 16:09 hgbot Checkin
2016-02-15 16:09 hgbot Note Added: 0084207
2016-02-15 16:09 hgbot Status scheduled => resolved
2016-02-15 16:09 hgbot Resolution open => fixed
2016-02-15 16:09 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/2c5ba1ce192fd9b47a1685d7c5e4155460d9cb13 [^]
2016-03-03 16:58 marvintm Review Assigned To => marvintm
2016-03-03 16:58 marvintm Status resolved => closed
2016-03-03 16:58 marvintm Fixed in Version => RR16Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker