Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021967 | Openbravo ERP | A. Platform | public | 2012-10-17 11:55 | 2012-11-21 06:07 |
|
Reporter | egoitz | |
Assigned To | AugustoMauch | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP18 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | shankarb |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | 16993 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0021967: The value on time fields is changed when adding or deleting a row on a subtab of the tab where the fields are located |
Description | The value on time fields is changed when adding or deleting a row on a subtab of the tab where the fields are located. |
Steps To Reproduce | -Activate the instance to show the production module
-Go to workeffort window
-Add a new row with a starting time and ending date. for example 08:00 and 09:00
-Save it
-Go to a subtab
-Enter a new row
-Go to the tab and change from form to grid and viceversa
*see that the starttime and endtime are change.
*When deleting the row on the subtab the same happens. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | FixIssue21967.diff (1,723) 2012-11-15 15:22 https://issues.openbravo.com/file_download.php?file_id=5735&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2012-10-17 11:55 | egoitz | New Issue | |
2012-10-17 11:55 | egoitz | Assigned To | => AugustoMauch |
2012-10-17 11:55 | egoitz | Modules | => Core |
2012-10-17 11:55 | egoitz | OBNetwork customer | => No |
2012-10-17 11:55 | egoitz | Support ticket | => 16993 |
2012-10-17 11:55 | egoitz | Resolution time | => 1352934000 |
2012-10-17 11:57 | egoitz | Issue Monitored: networkb | |
2012-11-06 15:15 | shankarb | Assigned To | AugustoMauch => shankarb |
2012-11-09 09:23 | shankarb | File Added: FixIssue21967.diff | |
2012-11-14 11:04 | mtaal | Note Added: 0054218 | |
2012-11-14 12:02 | mtaal | Note Added: 0054220 | |
2012-11-15 15:22 | shankarb | File Deleted: FixIssue21967.diff | |
2012-11-15 15:22 | shankarb | File Added: FixIssue21967.diff | |
2012-11-19 10:39 | shankarb | Assigned To | shankarb => AugustoMauch |
2012-11-19 10:39 | shankarb | Status | new => scheduled |
2012-11-19 10:39 | shankarb | fix_in_branch | => pi |
2012-11-19 16:51 | AugustoMauch | Issue Monitored: shankarb | |
2012-11-19 16:52 | AugustoMauch | Review Assigned To | => shankarb |
2012-11-19 16:52 | AugustoMauch | fix_in_branch | pi => |
2012-11-19 16:52 | hgbot | Checkin | |
2012-11-19 16:52 | hgbot | Note Added: 0054323 | |
2012-11-19 16:52 | hgbot | Status | scheduled => resolved |
2012-11-19 16:52 | hgbot | Resolution | open => fixed |
2012-11-19 16:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e2a425c9139b123ced6d9826a7e57745616c2169 [^] |
2012-11-19 17:08 | shankarb | Note Added: 0054324 | |
2012-11-19 17:08 | shankarb | Status | resolved => closed |
2012-11-19 17:08 | shankarb | Fixed in Version | => pi |
2012-11-21 06:07 | hudsonbot | Checkin | |
2012-11-21 06:07 | hudsonbot | Note Added: 0054401 | |
Notes |
|
(0054218)
|
mtaal
|
2012-11-14 11:04
|
|
Hmm, this issue seems to be somewhat complex. For example I have a record with start/end time of 8:00 and 9:00. When I refresh explicitly the server returns a record with 7:00 and 8:00 (GMT times) the grid shows this correctly as 8:00 and 9:00.
However when doing the refresh as part of the delete of a subtab row then the client seems to incorrectly do not do GMT correction. In this case the server correctly sends the 7:00 and 8:00, but the grid does not translate it correctly to 8:00 and 9:00. |
|
|
(0054220)
|
mtaal
|
2012-11-14 12:02
|
|
To further debug this, you can check the isc.Time.toTime method or the OBTimeItem.setValue methods, see what value they get passed in when a subtab row is deleted. |
|
|
(0054323)
|
hgbot
|
2012-11-19 16:52
|
|
Repository: erp/devel/pi
Changeset: e2a425c9139b123ced6d9826a7e57745616c2169
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Nov 19 16:47:32 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e2a425c9139b123ced6d9826a7e57745616c2169 [^]
Fixes bug 21967: Time fields value not changed when updated from the child view
The conversion from UTC to local time was not being done when a child view was updated and its parent view refreshed
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
|
|
|
(0054324)
|
shankarb
|
2012-11-19 17:08
|
|
Tested and verified in changeset e2a425c9139b in pi. |
|
|
|
|