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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021967
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-10-17 11:552012-11-21 06:07
ReporteregoitzView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisione2a425c9139b
ProjectionnoneETAnoneTarget Version3.0MP18
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
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

DescriptionThe 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.
TagsNo tags attached.
Attached Filesdiff file icon FixIssue21967.diff [^] (1,723 bytes) 2012-11-15 15:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054218)
mtaal (manager)
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 (manager)
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 (developer)
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 (reporter)
2012-11-19 17:08

Tested and verified in changeset e2a425c9139b in pi.
(0054401)
hudsonbot (developer)
2012-11-21 06:07

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/c3c5e61b0164 [^]

Maturity status: Test

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker