Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026883Retail ModulesWeb POSpublic2014-06-17 09:592014-08-18 09:41
malsasua 
malsasua 
normalminoralways
closedduplicate 
20Community Appliance
 
RR14Q4RR14Q4 
mtaal
No
0026883: Uncaught exception when context information change
In some cases, when context information change and cache is not cleaned, error is returned when login is done:
uncaught TypeError: Cannot read property 'terminal' of null. Line number: 2989. File uuid: http://localhost:8082/retail/web/js/gen/46695d46336f848224f761fb465fb461.js [^]
. in backoffice:
 . organization "vall blanca store"
  . price list: void

. go to WEB POS:
 . clean cache
 . do login
 . pop up: "Error" is displayed. click in OK button

. go to backoffice
  . organization "vall blanca store"
  . price list: White Valley Group Product List

. go to WEB POS:
 . do login:
 error is returned:
uncaught TypeError: Cannot read property 'terminal' of null. Line number: 2989. File uuid: http://localhost:8082/reta [^]
Regression
duplicate of defect 0026954RR14Q3 closed marvintm When termInfo is null an uuid error is raised 
related to defect 0026905 closed szapata When login and organization has no price list associated it shows ugly error 
Issue History
2014-06-17 09:59malsasuaNew Issue
2014-06-17 09:59malsasuaAssigned To => malsasua
2014-06-17 09:59malsasuaTriggers an Emergency Pack => No
2014-06-17 10:00malsasuaTarget Version => RR14Q3
2014-06-17 10:00malsasuaTag Attached: Regression
2014-06-18 18:18szapataNote Added: 0068132
2014-06-18 18:18szapataStatusnew => feedback
2014-06-19 14:30szapataRelationship addedrelated to 0026905
2014-06-26 14:00migueldejuanaTarget VersionRR14Q3 => RR14Q4
2014-08-18 09:41mtaalReview Assigned To => mtaal
2014-08-18 09:41mtaalRelationship addedduplicate of 0026954
2014-08-18 09:41mtaalNote Added: 0069456
2014-08-18 09:41mtaalStatusfeedback => closed
2014-08-18 09:41mtaalResolutionopen => duplicate
2014-08-18 09:41mtaalFixed in Version => RR14Q4

Notes
(0068132)
szapata   
2014-06-18 18:18   
I followed the steps I got a different error:
Argument is not a BaseOBObject and not a HibernateProxy it is NULL
I replaced by a more descriptive error. But this does not seem to be the error.
(0069456)
mtaal   
2014-08-18 09:41   
The original error was in this code:
this.set(curProperty, termInfo[curProperty]);
on this line:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/1e5f2e509bba/web/org.openbravo.mobile.core/source/model/ob-terminal-model.js#l222 [^]

This has changed in this commit:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9de66192786b [^]