Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025284Openbravo ERPA. Platformpublic2013-12-06 09:422013-12-19 12:30
egoitz 
alostale 
urgentmajoralways
closedfixed 
5
 
3.0MP31 
dbaz
Core
No
0025284: When changing the value of a datetime field using the date selector, the time is changed to the current time
When changing the value of a datetime field using the date selector, the time is changed to the current time
-Go to good shipment window
-Create a new header
-Go to the more information section
-Fill the ship date field with a date and a time different than the current date.
-Change manually with the keyboard the value of the date and not the time.
-The record is properly saved.
-Open the date selector and select a differente date.
*The time is changed to the curent time.
-The datetime selector should complete the value with the current time if the field was not previously filled.
-If it was filled it should change only the date
No tags attached.
related to defect 0020790 closed alostale The date selector on the datetime references should fill the time with the current time after selet a date 
related to design defect 0020701 acknowledged Triage Platform Base The datetime selector does not allow to specify the time 
Issue History
2013-12-06 09:42egoitzNew Issue
2013-12-06 09:42egoitzAssigned To => AugustoMauch
2013-12-06 09:42egoitzModules => Core
2013-12-06 09:42egoitzResolution time => 1388444400
2013-12-06 09:42egoitzTriggers an Emergency Pack => No
2013-12-06 09:44egoitzTypedefect => design defect
2013-12-06 15:15egoitzTypedesign defect => defect
2013-12-09 10:03egoitzTypedefect => design defect
2013-12-09 18:11johnfandlIssue Monitored: johnfandl
2013-12-09 18:17johnfandlNote Added: 0062672
2013-12-10 15:01alostaleRelationship addedrelated to 0020790
2013-12-10 15:05alostaleRelationship addedrelated to 0020701
2013-12-10 15:07alostaleReview Assigned To => dbaz
2013-12-10 15:08alostaleAssigned ToAugustoMauch => alostale
2013-12-10 15:10hgbotCheckin
2013-12-10 15:10hgbotNote Added: 0062690
2013-12-10 15:10hgbotStatusnew => resolved
2013-12-10 15:10hgbotResolutionopen => fixed
2013-12-10 15:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/13e17bb49f6804f12c795ca8f5f4540ac09bffec [^]
2013-12-13 19:13johnfandlNote Added: 0062731
2013-12-18 14:56dbazNote Added: 0062791
2013-12-18 14:56dbazStatusresolved => closed
2013-12-18 14:56dbazFixed in Version => 3.0MP31
2013-12-19 12:30hudsonbotCheckin
2013-12-19 12:30hudsonbotNote Added: 0062843

Notes
(0062672)
johnfandl   
2013-12-09 18:17   
Note that it is very easy for the user to inadvertently create incorrect time information due to this bug.

The only case it could make sense to automatically set the time to the current system time (current behavior) is if the selected date is TODAY. And even then:

- the system must act consistently between date picker and manual change of date
- if the system is automatically defaulting a new value (over a value the user has previously entered), the system should offer this override to the user explicitly, and allow the user to reject it.
(0062690)
hgbot   
2013-12-10 15:10   
Repository: erp/devel/pi
Changeset: 13e17bb49f6804f12c795ca8f5f4540ac09bffec
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Dec 10 15:09:35 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/13e17bb49f6804f12c795ca8f5f4540ac09bffec [^]

fixed issue 25284: in date-time, preserve time if date is changed from selector

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-datetime.js
---
(0062731)
johnfandl   
2013-12-13 19:13   
Hi, can you indicate what MP this fix will be included in?
(0062791)
dbaz   
2013-12-18 14:56   
Reviewed @ changeset: 21661 - e16bf47ff9ce
(0062843)
hudsonbot   
2013-12-19 12:30   
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/b878bb51dc09 [^]

Maturity status: Test