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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028337
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorsometimes2014-12-02 17:082014-12-17 09:07
ReportermalsasuaView Statuspublic 
Assigned Tomalsasua 
PrioritynormalResolutionfixedFixed in VersionRR15Q3
StatusclosedFix in branchpiFixed in SCM revisioncd64c7f9a18d
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionRR14Q3.2SCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028337: when login is done in WEB POS and the first sales is done quickly, JS error is returned

Descriptionwith the module stockvalidation installed

if the login is done and quickly, a line is added to receipt, then JS error is returned

It is not reproducible in Q4
Steps To Reproduce. in backoffice
 . go to window product
  . product: Avalanche Transceiver
  . set the option: "Show the stock screen"
 
. do login in webpos
. quickly select the product "Avalance Transceiver"

JS error is displayed:
 Uncaught TypeError: Cannot read property 'organization' of null. Line number: 43137. File uuid: http://localhost:8082/openbravo/web/js/gen/b7fdd069ef926120f98d1ed9926e15fa_OBMOBCR.js. [^] http://localhost:8082/openbravo/web/js/gen/b7fdd069ef926120f98d1ed9926e15fa_OBMOBCR.js:19668:1 [^]

the line is:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.stockvalidation/file/86a9a9a794ee/web/org.openbravo.retail.stockvalidation/js/modals.js#l26 [^]
and the error is generated because
OB.POS.modelterminal.get('terminal') is undefined
TagsNo tags attached.
Attached Filesdiff file icon issue28337.diff [^] (627 bytes) 2014-12-09 13:36 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028350RR15Q1 closedmalsasua Error when you login without incremental refresh configured 

-  Notes
(0072370)
hgbot (developer)
2014-12-09 18:46

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: cd64c7f9a18d5c8803914208cf65ab00fdbf2682
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Dec 09 18:45:13 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cd64c7f9a18d5c8803914208cf65ab00fdbf2682 [^]

fixed issue 28337: terminal properties are not cleaned (set to null) when properties are loaded from backend in the login

previous to this commit, the properties are set to null and after that they are set to the correct value loaded from backend.
But there are some seconds that the properties are null.
Instead of set the property to null and after that set to the correct value, directly is done the set to the correct value

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0072488)
mtaal (manager)
2014-12-15 09:31

Fix seems fine, but needs to be set to resolved and closed when doing the Q3/Q4 MP's
(0072592)
mtaal (manager)
2014-12-17 09:06

.
(0072593)
mtaal (manager)
2014-12-17 09:06

Resolved
(0072594)
mtaal (manager)
2014-12-17 09:07

Reviewed

- Issue History
Date Modified Username Field Change
2014-12-02 17:08 malsasua New Issue
2014-12-02 17:08 malsasua Assigned To => marvintm
2014-12-02 17:08 malsasua Triggers an Emergency Pack => No
2014-12-09 13:34 malsasua Relationship added related to 0028350
2014-12-09 13:36 malsasua File Added: issue28337.diff
2014-12-09 18:46 hgbot Checkin
2014-12-09 18:46 hgbot Note Added: 0072370
2014-12-09 18:46 hgbot Status new => resolved
2014-12-09 18:46 hgbot Resolution open => fixed
2014-12-09 18:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cd64c7f9a18d5c8803914208cf65ab00fdbf2682 [^]
2014-12-15 09:31 mtaal Assigned To marvintm => malsasua
2014-12-15 09:31 mtaal Note Added: 0072488
2014-12-15 09:31 mtaal Status resolved => new
2014-12-15 09:31 mtaal Resolution fixed => open
2014-12-17 09:06 mtaal Status new => scheduled
2014-12-17 09:06 mtaal Note Added: 0072592
2014-12-17 09:06 mtaal fix_in_branch => pi
2014-12-17 09:06 mtaal Note Added: 0072593
2014-12-17 09:06 mtaal Status scheduled => resolved
2014-12-17 09:06 mtaal Fixed in Version => RR15Q3
2014-12-17 09:06 mtaal Resolution open => fixed
2014-12-17 09:07 mtaal Review Assigned To => mtaal
2014-12-17 09:07 mtaal Note Added: 0072594
2014-12-17 09:07 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker