Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022505Openbravo ERP00. Application dictionarypublic2012-12-10 18:202012-12-17 13:33
azabaleta 
mtaal 
urgentminoralways
closedfixed 
5
 
3.0MP19 
AugustoMauch
Core
No
0022505: Invalid date completing in date fields.
Invalid date completing in date fields.
in case the user enters a date that is not valid because it is a 31 in a month with only 30 days, or (29)-30-31 in February, the system automatically takes the next available date, which can lead to an error.
in case the user enters a date that is not valid because it is a 31 in a month with only 30 days, or (29)-30-31 in February, the system should automatically assume that the user "means" last day of that month.
No tags attached.
related to defect 00252443.0MP31 closed dbaz Trial balance converts not existing dates to existing ones. 
Issue History
2012-12-10 18:20azabaletaNew Issue
2012-12-10 18:20azabaletaAssigned To => AugustoMauch
2012-12-10 18:20azabaletaModules => Core
2012-12-10 18:20azabaletaTriggers an Emergency Pack => No
2012-12-11 10:18mtaalAssigned ToAugustoMauch => mtaal
2012-12-11 11:29mtaalReview Assigned To => AugustoMauch
2012-12-11 11:31mtaalNote Added: 0054832
2012-12-11 11:42hgbotCheckin
2012-12-11 11:42hgbotNote Added: 0054833
2012-12-11 11:42hgbotStatusnew => resolved
2012-12-11 11:42hgbotResolutionopen => fixed
2012-12-11 11:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3927fda17b047e592a76d1ae9e07e537ad966e80 [^]
2012-12-14 11:21AugustoMauchNote Added: 0054941
2012-12-14 11:21AugustoMauchStatusresolved => closed
2012-12-14 11:21AugustoMauchFixed in Version => 3.0MP19
2012-12-17 13:33hudsonbotCheckin
2012-12-17 13:33hudsonbotNote Added: 0054982
2013-12-17 15:24dbazRelationship addedrelated to 0025244

Notes
(0054832)
mtaal   
2012-12-11 11:31   
It can be dangerous to assume that the last date of the month is assumed, maybe the month number is wrong. So therefore the current implemented solution is to assume that the date is invalid for these 'illegal' values.
(0054833)
hgbot   
2012-12-11 11:42   
Repository: erp/devel/pi
Changeset: 3927fda17b047e592a76d1ae9e07e537ad966e80
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 11 11:40:07 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3927fda17b047e592a76d1ae9e07e537ad966e80 [^]

Fixes issue 22505: Invalid date completing in date fields.
Check that the javascript day number is the same as the entered one, do this for form fields as well as popup date filters

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities-date.js
---
(0054941)
AugustoMauch   
2012-12-14 11:21   
Code reviewed and verified in pi@3db450e737fd
(0054982)
hudsonbot   
2012-12-17 13:33   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c79ef1b1f830 [^]

Maturity status: Test