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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031132
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2015-10-01 18:092015-10-23 12:38
ReporteraaroncaleroView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision5415a5ea7b30
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Merge Request Status
Review Assigned Toguilleaer
OBNetwork customerOBPS
Support ticket
Regression levelCoding ( Testing )
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031132: Web POS login broken if the application is refreshed after loading a Layaway

DescriptionWhen a Layaway is loaded from the backend, and the web POS is refreshed, a javascript error is shown when loading the application and the process stops:

e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:2382 TypeError: Cannot read property 'get' of null
    at Object.enyo.kind.create (https://livebuilds.openbravo.com/retail_pi_pgsql//web/js/gen/e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:28008:46 [^])
    at Object.enyo.kind.constructed (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:524:27 [^])
    at Object.ctor (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:399:107 [^])
    at Function.enyo.create.enyo.Component.create [as create] (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:640:95 [^])
    at Object.enyo.kind._createComponent (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:587:53 [^])
    at Object.enyo.kind.createComponent (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:590:13 [^])
    at Object.enyo.kind._createComponentForModel (https://livebuilds.openbravo.com/retail_pi_pgsql//web/js/gen/e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:10757:24 [^])
    at Object.enyo.kind._addModelToCollection (https://livebuilds.openbravo.com/retail_pi_pgsql//web/js/gen/e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:10748:12 [^])
    at Object.<anonymous> (https://livebuilds.openbravo.com/retail_pi_pgsql//web/js/gen/e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:10645:18 [^])
    at Array.forEach (native); line: Object.OB.UTIL.showError (https://livebuilds.openbravo.com/retail_pi_pgsql//web/js/gen/e103d6b6ca5a12dc3b80312b2617203c_WebPOS.js:9548:6 [^]) (*,+)
Steps To ReproduceLogin in webpos.
Load a layaway from the backend (Menu > Layaways; search and select any of the layaways found).
Once the Layaway has loaded, refresh the page.
The login/loading process breaks with the mentioned error.

Checking the local database, the previously loaded layaway is still there, but the json field is empty.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031014 closedmario_castello Web POS login broken if the application is refreshed after loading a Layaway 

-  Notes
(0081197)
hgbot (developer)
2015-10-22 11:43

Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 5415a5ea7b30a91e6a38e2f1dce7115994334bdc
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 11:43:08 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/5415a5ea7b30a91e6a38e2f1dce7115994334bdc [^]

Fixed issue 31132. Set the json to receipt when load a layaway

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0081256)
guilleaer (viewer)
2015-10-23 12:38

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2015-10-13 10:26 Orekaria Type defect => backport
2015-10-13 10:26 Orekaria Target Version => RR15Q4
2015-10-22 11:43 hgbot Checkin
2015-10-22 11:43 hgbot Note Added: 0081197
2015-10-22 11:43 hgbot Status scheduled => resolved
2015-10-22 11:43 hgbot Resolution open => fixed
2015-10-22 11:43 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/11ec4a848310c5e0899dbeb6c121eedad151aa2b [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/5415a5ea7b30a91e6a38e2f1dce7115994334bdc [^]
2015-10-22 16:29 marvintm Assigned To mario_castello => marvintm
2015-10-23 12:38 guilleaer Review Assigned To marvintm => guilleaer
2015-10-23 12:38 guilleaer Note Added: 0081256
2015-10-23 12:38 guilleaer Status resolved => closed
2015-10-23 12:38 guilleaer Fixed in Version => RR15Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker