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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030472
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2015-07-31 12:382015-09-18 15:10
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revisionc9df14934118
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030472: Stabilization: Sometimes the incoming 'creationDate' is not correct

DescriptionSometimes the incoming 'creationDate' field has something but is not a valid date or, at least, it does not have the 'timezoneOffset' method

Notice that the incoming 'creationDate' is considered valid if it is null

When an order with this bug reaches the server, it has these missing fields:
  timezoneOffset
  obposCreatedabsolute
  obposAppCashup

This are new fields that are added in the 'closed' event of the ticket, in the dataordersave.js file
Steps To ReproduceUnknown
TagsNo tags attached.
Attached Filespatch file icon 4683.patch [^] (1,503 bytes) 2015-07-31 12:39 [Show Content]
patch file icon 4684 (multiorders).patch [^] (1,583 bytes) 2015-07-31 14:47 [Show Content]
patch file icon 4683 (fix candidate - freeze receipt).patch [^] (2,764 bytes) 2015-08-04 12:28 [Show Content]
patch file icon 4684 (fix candidate - log on creationDate change).patch [^] (1,395 bytes) 2015-08-04 12:28 [Show Content]
patch file icon 4685 (fix candidate - correct actions order).patch [^] (1,258 bytes) 2015-08-04 12:28 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029164 closedmalsasua quotations are not synced: creationdate is null 
depends on defect 0030823 closedOrekaria Sometimes the Id of the order model is null 
blocks defect 0030603RR15Q4 closedOrekaria Stabilization: RR15Q4 related issues 
blocks defect 0030636RR15Q4 closedmario_castello [UX] The date in the receipt is not correctly formatted 
blocks defect 0030713 closedmario_castello dateorder is set when the ticket is created in WebPOS not when it is processed 

-  Notes
(0079158)
hgbot (developer)
2015-07-31 22:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 20f7e5bc5a6252af128ca7903f6e74448c2246df
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Jul 31 17:27:17 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/20f7e5bc5a6252af128ca7903f6e74448c2246df [^]

Related to issue 30472: JsLint: removed unused code

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0079159)
hgbot (developer)
2015-07-31 22:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8a93ba46cae0a570aa3d11966b3fceee7d34bdb2
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Jul 31 14:45:47 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a93ba46cae0a570aa3d11966b3fceee7d34bdb2 [^]

Related to issue 30472: Fix the incoming 'creationDate' in case it is not valid

The problem is that, in some cases (to be identified), the content of the 'creationDate' field is not null and not a valid date. If the 'creationDate' is not valid, the flow fails to retrieve its 'timezoneOffset' and a javascript error is risen


This patch verifies that the 'creationDate' has a valid date

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0079160)
hgbot (developer)
2015-07-31 22:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0672435b95200b2c9fe6e2ba9fd04c9ec9c552d0
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Jul 31 22:58:24 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0672435b95200b2c9fe6e2ba9fd04c9ec9c552d0 [^]

Related to issue 30472: removed rogue error ยป info

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0079195)
hgbot (developer)
2015-08-05 09:42

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f10b2603dcbfbe00eaddd10588d109a928f2c9f1
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 04 18:12:49 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f10b2603dcbfbe00eaddd10588d109a928f2c9f1 [^]

Related to issue 30472: JsLint: removed unused code

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0079206)
Orekaria (administrator)
2015-08-05 21:24

The previous changeset should had been associated to the issue 30450
(0079220)
hgbot (developer)
2015-08-06 13:21

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 76f9919b796601dce75e86a204447a9005730a83
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Thu Aug 06 12:08:08 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/76f9919b796601dce75e86a204447a9005730a83 [^]

Fixes issue 30472: The 'creationDate' has been normalized

The problem was that the dates were not saved as string and a Date.toString() value was saved to the database

Thia fix done for the 'creationDate' should be done to the 'orderDate' as it is suffering similar issues

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0079221)
hgbot (developer)
2015-08-06 13:21

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c9df149341181f862a4cf37679cb68f67d2c3df9
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Aug 05 22:42:18 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c9df149341181f862a4cf37679cb68f67d2c3df9 [^]

Fixes issue 30472: Added 'OB.I18N.normalizeDate'

This method takes an argument that is supposed to be a date and returns a valid date string or null if the object is not a valid date

---
M web/org.openbravo.mobile.core/source/utils/ob-i18n.js
---
(0079222)
Orekaria (administrator)
2015-08-06 13:32

Please note that now, the receipts can show the date as an ISO string. This should be fixed in this issue or create another related issue if this one does not include it
(0079628)
Orekaria (administrator)
2015-08-23 11:57

New issue created for the visual formatting

https://issues.openbravo.com/view.php?id=30636 [^]
(0080474)
hgbot (developer)
2015-09-17 23:15

Repository: tools/automation/pi-mobile
Changeset: 84eadd30e9374e06a2169fb5b1a68f82aafb34de
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Thu Sep 17 18:47:24 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/84eadd30e9374e06a2169fb5b1a68f82aafb34de [^]

Verifies issue 30472: Added the 'VerifyCreationDateIsInISOFormat' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/VerifyCreationDateIsInISOFormat.java
---

- Issue History
Date Modified Username Field Change
2015-07-31 12:38 Orekaria New Issue
2015-07-31 12:38 Orekaria Assigned To => Orekaria
2015-07-31 12:38 Orekaria Triggers an Emergency Pack => No
2015-07-31 12:39 Orekaria File Added: 4683.patch
2015-07-31 12:42 Orekaria Relationship added related to 0029164
2015-07-31 12:44 Orekaria Summary Sometimes the incomming 'creationDate' is not correct => Sometimes the incoming 'creationDate' is not correct
2015-07-31 12:44 Orekaria Description Updated View Revisions
2015-07-31 12:48 Orekaria Description Updated View Revisions
2015-07-31 12:59 Orekaria Description Updated View Revisions
2015-07-31 14:36 Orekaria File Added: 4684.patch
2015-07-31 14:47 Orekaria File Deleted: 4684.patch
2015-07-31 14:47 Orekaria File Added: 4684 (multiorders).patch
2015-07-31 15:51 Orekaria File Added: 4974 (fix candidate).patch
2015-07-31 22:15 hgbot Checkin
2015-07-31 22:15 hgbot Note Added: 0079158
2015-07-31 22:15 hgbot Checkin
2015-07-31 22:15 hgbot Note Added: 0079159
2015-07-31 22:59 hgbot Checkin
2015-07-31 22:59 hgbot Note Added: 0079160
2015-08-03 21:02 Orekaria File Added: 4809 (fix candidate 2: frozenReceipt).patch
2015-08-04 12:28 Orekaria File Deleted: 4974 (fix candidate).patch
2015-08-04 12:28 Orekaria File Deleted: 4809 (fix candidate 2: frozenReceipt).patch
2015-08-04 12:28 Orekaria File Added: 4683 (fix candidate - freeze receipt).patch
2015-08-04 12:28 Orekaria File Added: 4684 (fix candidate - log on creationDate change).patch
2015-08-04 12:28 Orekaria File Added: 4685 (fix candidate - correct actions order).patch
2015-08-05 09:42 hgbot Checkin
2015-08-05 09:42 hgbot Note Added: 0079195
2015-08-05 21:24 Orekaria Note Added: 0079206
2015-08-06 13:21 hgbot Checkin
2015-08-06 13:21 hgbot Note Added: 0079220
2015-08-06 13:21 hgbot Status new => resolved
2015-08-06 13:21 hgbot Resolution open => fixed
2015-08-06 13:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/76f9919b796601dce75e86a204447a9005730a83 [^]
2015-08-06 13:21 hgbot Checkin
2015-08-06 13:21 hgbot Note Added: 0079221
2015-08-06 13:21 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/76f9919b796601dce75e86a204447a9005730a83 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c9df149341181f862a4cf37679cb68f67d2c3df9 [^]
2015-08-06 13:32 Orekaria Note Added: 0079222
2015-08-06 13:32 Orekaria Status resolved => new
2015-08-06 13:32 Orekaria Resolution fixed => open
2015-08-06 23:56 Orekaria Description Updated View Revisions
2015-08-06 23:56 Orekaria Steps to Reproduce Updated View Revisions
2015-08-06 23:57 Orekaria Description Updated View Revisions
2015-08-19 12:37 Orekaria Relationship added blocks 0030603
2015-08-19 18:30 Orekaria Target Version => RR15Q4
2015-08-19 18:30 Orekaria Summary Sometimes the incoming 'creationDate' is not correct => Stabilization: Sometimes the incoming 'creationDate' is not correct
2015-08-23 11:55 Orekaria Relationship added blocks 0030636
2015-08-23 11:56 Orekaria Status new => scheduled
2015-08-23 11:57 Orekaria Note Added: 0079628
2015-08-23 11:57 Orekaria Status scheduled => resolved
2015-08-23 11:57 Orekaria Fixed in Version => RR15Q4
2015-08-23 11:57 Orekaria Resolution open => fixed
2015-09-10 09:56 Orekaria Relationship added blocks 0030713
2015-09-16 22:48 Orekaria Relationship added depends on 0030823
2015-09-17 23:15 hgbot Checkin
2015-09-17 23:15 hgbot Note Added: 0080474
2015-09-18 15:10 marvintm Review Assigned To => marvintm
2015-09-18 15:10 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker