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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026883
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2014-06-17 09:592014-08-18 09:41
ReportermalsasuaView Statuspublic 
Assigned Tomalsasua 
PrioritynormalResolutionduplicateFixed in VersionRR14Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR14Q4
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026883: Uncaught exception when context information change

DescriptionIn 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 [^]
Steps To Reproduce. 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 [^]
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0026954RR14Q3 closedmarvintm When termInfo is null an uuid error is raised 
related to defect 0026905 closedszapata When login and organization has no price list associated it shows ugly error 

-  Notes
(0068132)
szapata (reporter)
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 (manager)
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 [^]

- Issue History
Date Modified Username Field Change
2014-06-17 09:59 malsasua New Issue
2014-06-17 09:59 malsasua Assigned To => malsasua
2014-06-17 09:59 malsasua Triggers an Emergency Pack => No
2014-06-17 10:00 malsasua Target Version => RR14Q3
2014-06-17 10:00 malsasua Tag Attached: Regression
2014-06-18 18:18 szapata Note Added: 0068132
2014-06-18 18:18 szapata Status new => feedback
2014-06-19 14:30 szapata Relationship added related to 0026905
2014-06-26 14:00 migueldejuana Target Version RR14Q3 => RR14Q4
2014-08-18 09:41 mtaal Review Assigned To => mtaal
2014-08-18 09:41 mtaal Relationship added duplicate of 0026954
2014-08-18 09:41 mtaal Note Added: 0069456
2014-08-18 09:41 mtaal Status feedback => closed
2014-08-18 09:41 mtaal Resolution open => duplicate
2014-08-18 09:41 mtaal Fixed in Version => RR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker