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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031270
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2015-03-30 18:182015-11-02 15:50
ReportermigueldejuanaView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR15Q3.2
StatusclosedFix in branchFixed in SCM revision002f13047026
ProjectionnoneETAnoneTarget VersionRR15Q3.2
OSOtherDatabaseAnyJava version
OS VersioniOSDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031270: We get an error in iOS everytime we save an order

DescriptionUsing an iOS device we get an error everytime we save an order:

posterminal.main.js: RangeError: Invalid Date; line: [URL]/openbravo/web/js/gen/ed74a30d49a83f633f6a254e6ea14a05_WebPOS.js:771; stackTrace:


The line of the code where this error is launched is:

undoCopy = this.get('undo');
this.unset('undo');
this.set('json', JSON.stringify(this.toJSON()));
if (!OB.MobileApp.model.get('preventOrderSave')) {
    OB.Dal.save(this, function() {}, function() {
        OB.error(arguments);
    });
}

We get an error but it does not affect to the application.
Steps To Reproduce- Login in a iOS device
- Create and order and save it
- See javascript error in the console
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029462 closedmarvintm We get an error in iOS everytime we save an order 

-  Notes
(0081402)
hgbot (developer)
2015-10-30 13:00

Repository: retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal
Changeset: 002f130470261eaa185e345d132d1ed58def7d1c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 30 13:00:20 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal/rev/002f130470261eaa185e345d132d1ed58def7d1c [^]

Fixed issue 31270. Now the cashup creationDate will be formated to ISO when being loaded from the backend.

---
M src/org/openbravo/retail/posterminal/master/Cashup.java
---

- Issue History
Date Modified Username Field Change
2015-10-27 13:42 marvintm Type defect => backport
2015-10-27 13:42 marvintm Target Version => RR15Q3.2
2015-10-30 13:00 hgbot Checkin
2015-10-30 13:00 hgbot Note Added: 0081402
2015-10-30 13:00 hgbot Status scheduled => resolved
2015-10-30 13:00 hgbot Resolution open => fixed
2015-10-30 13:00 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2e86768ab6f2905500d1eb5c73a6d0573f4fe7cf [^] => http://code.openbravo.com/retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal/rev/002f130470261eaa185e345d132d1ed58def7d1c [^]
2015-11-02 15:50 guilleaer Review Assigned To marvintm => guilleaer
2015-11-02 15:50 guilleaer Status resolved => closed
2015-11-02 15:50 guilleaer Fixed in Version => RR15Q3.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker