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

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

0031014: 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 ]
depends on backport 0031132RR15Q4 closedmarvintm Web POS login broken if the application is refreshed after loading a Layaway 

-  Notes
(0080935)
hgbot (developer)
2015-10-10 18:56

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 11ec4a848310c5e0899dbeb6c121eedad151aa2b
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Sat Oct 10 10:55:47 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/11ec4a848310c5e0899dbeb6c121eedad151aa2b [^]

Fixed issue 31014: Set the json to receipt when load a layaway

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0080936)
hgbot (developer)
2015-10-10 19:12

Repository: tools/automation/pi-mobile
Changeset: e41e968087b137a26fed2eb4dcba03f4cc216311
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Sat Oct 10 11:11:32 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e41e968087b137a26fed2eb4dcba03f4cc216311 [^]

Related to issue 31014: Automation test to load a layaway and refresh the POS

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31014_LayawayLoadAndRefresh.java
---

- Issue History
Date Modified Username Field Change
2015-10-01 18:09 aaroncalero New Issue
2015-10-01 18:09 aaroncalero Assigned To => Retail
2015-10-01 18:09 aaroncalero OBNetwork customer => Yes
2015-10-01 18:09 aaroncalero Resolution time => 1444255200
2015-10-01 18:09 aaroncalero Regression level => Coding ( Testing )
2015-10-01 18:09 aaroncalero Triggers an Emergency Pack => No
2015-10-01 18:09 aaroncalero Steps to Reproduce Updated View Revisions
2015-10-02 15:45 Orekaria Status new => acknowledged
2015-10-07 11:01 avicente Issue Monitored: avicente
2015-10-07 12:13 agete Issue Monitored: agete
2015-10-07 19:04 mario_castello Assigned To Retail => mario_castello
2015-10-07 19:04 mario_castello Status acknowledged => scheduled
2015-10-10 18:56 hgbot Checkin
2015-10-10 18:56 hgbot Note Added: 0080935
2015-10-10 18:56 hgbot Status scheduled => resolved
2015-10-10 18:56 hgbot Resolution open => fixed
2015-10-10 18:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/11ec4a848310c5e0899dbeb6c121eedad151aa2b [^]
2015-10-10 19:12 hgbot Checkin
2015-10-10 19:12 hgbot Note Added: 0080936
2015-10-13 10:25 Orekaria Review Assigned To => marvintm
2015-10-13 10:26 Orekaria Status resolved => new
2015-10-13 10:26 Orekaria Resolution fixed => open
2015-10-13 10:26 Orekaria Status new => scheduled
2015-10-13 10:26 Orekaria Status scheduled => resolved
2015-10-13 10:26 Orekaria Fixed in Version => RR16Q1
2015-10-13 10:26 Orekaria Resolution open => fixed
2015-10-13 19:38 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker