Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025838 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2014-02-26 09:51 | 2014-02-28 19:50 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR14Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d3337dfe6180 | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | shankarb | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2013-09-11 | |||||||
Regression introduced in release | ||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/290c9b12a211 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025838: Time fields are still not working properly in timezones with negative offsets | |||||||
Description | When a time field is saved from a timezone with a negative offset, its value is not being properly shown in the client when an existing record is opened in form view. | |||||||
Steps To Reproduce | From a timezone with negative offset (i.e. Monreal, GMT-5): - Open Process Request - Start creating a new record in form view - Set Run Later in the Timing Combo - Set 10:00:00 in the Start Time field - Save. The proper value will be saved in the database and the value shown to the user will be proper. - Open the grid view, and open again the selected record in form view. - The Start Time value has changed. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0064594) hgbot (developer) 2014-02-26 10:09 |
Repository: erp/devel/pi Changeset: d3337dfe6180201ad46ab07dce3a5de2c6636de4 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Feb 26 10:05:46 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d3337dfe6180201ad46ab07dce3a5de2c6636de4 [^] Fixes issue 25838: Time fields work properly in timezones with negative offsets There was a problem the todays date was assigned to a datetime: Original date: 31/12/2013 10:00:00 Todays date: 25/02/2014 The assignment order was year, month day, so the datetime was transformed like this: Year updated: 31/12/2014 10:00:00 Month updated: 31/02/2014 does not exists, so it is converted to 03/03/2014 Day updated: 25/03/2014 This has been fixed by changing the updating order to Day, Month, Year. Before the update the date month is set to January to prevent setting a day not supported by the current month. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js --- |
(0064596) hgbot (developer) 2014-02-26 10:21 |
Repository: erp/devel/pi Changeset: 44671c4c2901e88c6119b63785e8fb1b554c6a90 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Feb 26 10:20:31 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/44671c4c2901e88c6119b63785e8fb1b554c6a90 [^] Related to issue 25838:Avoids accessing a property of an undefined object --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js --- |
(0064602) hgbot (developer) 2014-02-26 10:51 |
Repository: erp/devel/pi Changeset: 62c6d119b8f87f48a4dd49a3044b8cdc0360c219 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Feb 26 10:51:11 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/62c6d119b8f87f48a4dd49a3044b8cdc0360c219 [^] Related to issue 25838:Avoids accessing a property of an undefined object The check (if data[this.name]) to avoid accessing a property of data[this.name], that can be undefined, has been moved from here if (this.getValue() !== data[this.name]) { to here data[this.name].getFullYear() <= 1970) It did not make sense to make the check in the outer if clause, because that would disable setting a null value for this property from the datasource. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js --- |
(0064605) shankarb (reporter) 2014-02-26 11:59 |
Code reviewed and verified in pi changeset b2b40bda6f96. |
(0064638) hudsonbot (developer) 2014-02-26 19:43 |
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/12811c036202 [^] Maturity status: Test |
(0064686) hudsonbot (developer) 2014-02-28 19:50 |
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/2a3305b1338e [^] Maturity status: Test |
(0064687) hudsonbot (developer) 2014-02-28 19:50 |
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/2a3305b1338e [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-26 09:51 | AugustoMauch | New Issue | |
2014-02-26 09:51 | AugustoMauch | Assigned To | => AugustoMauch |
2014-02-26 09:51 | AugustoMauch | Modules | => Core |
2014-02-26 09:51 | AugustoMauch | Triggers an Emergency Pack | => No |
2014-02-26 09:51 | AugustoMauch | Relationship added | related to 0025827 |
2014-02-26 09:52 | AugustoMauch | Regression level | => Production - Confirmed Stable |
2014-02-26 09:52 | AugustoMauch | Regression date | => 2013-09-11 |
2014-02-26 09:52 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/290c9b12a211 [^] |
2014-02-26 09:56 | AugustoMauch | Issue Monitored: shankarb | |
2014-02-26 09:56 | AugustoMauch | Review Assigned To | => shankarb |
2014-02-26 10:09 | hgbot | Checkin | |
2014-02-26 10:09 | hgbot | Note Added: 0064594 | |
2014-02-26 10:09 | hgbot | Status | new => resolved |
2014-02-26 10:09 | hgbot | Resolution | open => fixed |
2014-02-26 10:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d3337dfe6180201ad46ab07dce3a5de2c6636de4 [^] |
2014-02-26 10:21 | hgbot | Checkin | |
2014-02-26 10:21 | hgbot | Note Added: 0064596 | |
2014-02-26 10:51 | hgbot | Checkin | |
2014-02-26 10:51 | hgbot | Note Added: 0064602 | |
2014-02-26 11:59 | shankarb | Note Added: 0064605 | |
2014-02-26 11:59 | shankarb | Status | resolved => closed |
2014-02-26 11:59 | shankarb | Fixed in Version | => 3.0MP32 |
2014-02-26 19:43 | hudsonbot | Checkin | |
2014-02-26 19:43 | hudsonbot | Note Added: 0064638 | |
2014-02-28 19:50 | hudsonbot | Checkin | |
2014-02-28 19:50 | hudsonbot | Note Added: 0064686 | |
2014-02-28 19:50 | hudsonbot | Checkin | |
2014-02-28 19:50 | hudsonbot | Note Added: 0064687 | |
2018-06-01 09:19 | caristu | Relationship added | related to 0038661 |
Copyright © 2000 - 2009 MantisBT Group |