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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026262
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalhave not tried2014-04-12 03:272014-10-01 16:26
ReporterpjuvaraView Statuspublic 
Assigned ToAugustoMauch 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revisionf61bf8d6176d
ProjectionnoneETAnoneTarget Version3.0PR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Merge Request Status
Review Assigned Toalostale
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression levelPre packaging ( pi )
Regression date2014-02-28
Regression introduced in releasemain
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/22299 [^]
Triggers an Emergency PackNo
Summary

0026262: Cannot update records

DescriptionWhenever you try to update records, you get an error message:

Error
Saving failed. The record you are saving has already been changed by another user or process. Cancel your changes and refresh the data by clicking the refresh button.

See attached screenshot
Steps To ReproduceQuery a record and try to save a change.
TagsNo tags attached.
Attached Filespng file icon Openbravo Payment Term N A.png [^] (110,857 bytes) 2014-04-12 03:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066379)
alostale (viewer)
2014-04-14 13:33

Regression introduced by Absolute Time Project
(0066380)
hgbot (developer)
2014-04-14 14:14

Repository: erp/devel/pi
Changeset: f61bf8d6176d405b82a328cd9231e96c171505de
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Apr 14 14:12:57 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f61bf8d6176d405b82a328cd9231e96c171505de [^]

Fixes issue 26262: Dates with negative offsets are formatted properly

The proper javascript format for dates and datetimes with timezone offset if the following: 2009-12-06T15:59:34+01:00. There if a method in charge of adding the semicolon in the datetime part in case it is missing.

Due to a bug in that method, the semicolon was not being added in dates with negative timezone offset. This resulted in a failure in the parsing of that date in the client side, being the date object actually modified when it was parsed.

In Openbravo there is a safety mechanism that detects if a record has changed based on its updated field. The updated field was being improperly modified in the client, so the safety mechanism was assuming that the record had actually been changed by another user, and was preventing the record from being saved.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java
---
(0066405)
alostale (viewer)
2014-04-15 07:50

Tested with:
-server in different time zones (negative and positive offset)
-client and server in different time zones
(0066927)
hudsonbot (viewer)
2014-05-07 18:11

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/02ca2648bcdc [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-04-12 03:27 pjuvara New Issue
2014-04-12 03:27 pjuvara Assigned To => AugustoMauch
2014-04-12 03:27 pjuvara File Added: Openbravo Payment Term N A.png
2014-04-12 03:27 pjuvara Modules => Core
2014-04-12 03:27 pjuvara Triggers an Emergency Pack => No
2014-04-14 13:33 alostale OBNetwork customer => No
2014-04-14 13:33 alostale Regression level => Pre packaging ( pi )
2014-04-14 13:33 alostale Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/22299 [^]
2014-04-14 13:33 alostale Note Added: 0066379
2014-04-14 13:33 alostale Priority normal => immediate
2014-04-14 13:33 alostale Target Version => PR14Q2
2014-04-14 13:39 alostale Regression date => 2014-02-28
2014-04-14 14:13 AugustoMauch Issue Monitored: alostale
2014-04-14 14:13 AugustoMauch Review Assigned To => alostale
2014-04-14 14:14 hgbot Checkin
2014-04-14 14:14 hgbot Note Added: 0066380
2014-04-14 14:14 hgbot Status new => resolved
2014-04-14 14:14 hgbot Resolution open => fixed
2014-04-14 14:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f61bf8d6176d405b82a328cd9231e96c171505de [^]
2014-04-14 19:25 plujan Issue Monitored: plujan
2014-04-15 07:50 alostale Note Added: 0066405
2014-04-15 07:50 alostale Status resolved => closed
2014-04-15 07:50 alostale Fixed in Version => PR14Q3
2014-04-15 08:12 alostale Status closed => new
2014-04-15 08:12 alostale Resolution fixed => open
2014-04-15 08:12 alostale Fixed in Version PR14Q3 =>
2014-04-15 08:12 alostale Status new => scheduled
2014-04-15 08:12 alostale fix_in_branch => pi
2014-04-15 08:13 alostale Status scheduled => resolved
2014-04-15 08:13 alostale Fixed in Version => PR14Q2
2014-04-15 08:13 alostale Resolution open => fixed
2014-04-15 08:13 alostale Status resolved => closed
2014-05-07 18:11 hudsonbot Checkin
2014-05-07 18:11 hudsonbot Note Added: 0066927
2014-10-01 16:26 plujan Regression introduced in release => main
2014-10-01 16:26 plujan fix_in_branch pi =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker