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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020278
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] B. User interfacemajoralways2012-04-16 16:402012-09-16 19:52
ReporterdbazView Statuspublic 
Assigned Todbaz 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision042e65fa947c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020278: [SC Upgrade] You can not save twice a form after upgrade to SC 8.3d 2012-03-12 (or later)

DescriptionYou can not save twice a form after upgrade to SC 8.3d 2012-03-12 (or later)
Steps To ReproduceWith an instance upgraded to Smartclient 8.3d 2012-03-12 (or later)
Login into the application.
Open any window in form view and make any change and press "Save" button
The record is save ok
Without closing the form view, do any other change and press "Save" button again.
The following message is shown:

Error:
Saving failed. The record you are saving has already been changed by another user or process. Refresh the data by clicking the refresh button, you will loose your current changes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047721)
mtaal (manager)
2012-04-18 19:06

The cause of the issue is that server side changes in the object values are not placed back in the form. In this case the 'updated' field is not updated with the new value. This means that a next save will use an old updated value, causing an optimistic locking error in the server.

See this question asked on the smartclient forum:
http://forums.smartclient.com/showthread.php?p=84866#post84866 [^]
(0047722)
mtaal (manager)
2012-04-18 19:53

Scheduled
(0047723)
mtaal (manager)
2012-04-18 19:53

Fixed here, close after moving stuff back to pi.
https://code.openbravo.com/erp/devel/pi-rtl/rev/042e65fa947c [^]
(0048028)
dbaz (developer)
2012-04-26 13:52

Reopened. It will be automatically marked as "resolved" once pi-rtl be merged back to pi
(0048035)
alostale (manager)
2012-04-26 15:18

Setting as design defect: it is not an issue in current pi.
(0048199)
dbaz (developer)
2012-04-30 14:52

Reverted previous changeset since it has been already fixed with the 2012-04-29 Smartclient 8.3d upgrade

https://code.openbravo.com/erp/devel/pi-rtl/rev/3c048f3d7822 [^]
(0048278)
hgbot (developer)
2012-05-02 22:13

Repository: erp/devel/pi
Changeset: 042e65fa947c15f5e3cc67bfa1d8bebdf3c306fe
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 18 19:52:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/042e65fa947c15f5e3cc67bfa1d8bebdf3c306fe [^]

Fixes issue 20278: [SC Upgrade] You can not save twice a form after upgrade to SC 8.3d 2012-03-12 (or later)

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-datetime.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0048295)
hgbot (developer)
2012-05-02 22:22

Repository: erp/devel/pi
Changeset: 3c048f3d7822a979a1363dd1b53aa60544d7ab14
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Apr 30 14:51:50 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3c048f3d7822a979a1363dd1b53aa60544d7ab14 [^]

Related to issue 20278: Reverted previous changeset since it has been already fixed
with the 2012-04-29 Smartclient 8.3d upgrade

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-datetime.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0048812)
guilleaer (developer)
2012-05-21 16:17

verified in pi@87340d8f38a3
(0048972)
hudsonbot (developer)
2012-05-25 12:08

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

Maturity status: Test
(0048989)
hudsonbot (developer)
2012-05-25 12:09

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

Maturity status: Test
(0049225)
guilleaer (developer)
2012-05-25 17:54

Changing Fixed in Version to 3.0MP12
(0049226)
guilleaer (developer)
2012-05-25 17:54

Changing Fixed in Version to 3.0MP12
(0049227)
guilleaer (developer)
2012-05-25 17:54

Changing Fixed in Version to 3.0MP12
(0049228)
guilleaer (developer)
2012-05-25 17:54

Changing Fixed in Version to 3.0MP12

- Issue History
Date Modified Username Field Change
2012-04-16 16:40 dbaz New Issue
2012-04-16 16:40 dbaz Assigned To => dbaz
2012-04-16 16:40 dbaz Modules => Core
2012-04-18 19:06 mtaal Note Added: 0047721
2012-04-18 19:53 mtaal Status new => scheduled
2012-04-18 19:53 mtaal Note Added: 0047722
2012-04-18 19:53 mtaal fix_in_branch => pi
2012-04-18 19:53 mtaal Note Added: 0047723
2012-04-18 19:53 mtaal Status scheduled => resolved
2012-04-18 19:53 mtaal Fixed in SCM revision => 042e65fa947c
2012-04-18 19:53 mtaal Resolution open => fixed
2012-04-26 13:52 dbaz Note Added: 0048028
2012-04-26 13:52 dbaz Status resolved => new
2012-04-26 13:52 dbaz Resolution fixed => open
2012-04-26 15:18 alostale Note Added: 0048035
2012-04-26 15:18 alostale Type defect => design defect
2012-04-26 15:18 alostale fix_in_branch pi =>
2012-04-30 14:52 dbaz Note Added: 0048199
2012-05-02 22:13 hgbot Checkin
2012-05-02 22:13 hgbot Note Added: 0048278
2012-05-02 22:13 hgbot Status new => resolved
2012-05-02 22:13 hgbot Resolution open => fixed
2012-05-02 22:13 hgbot Fixed in SCM revision 042e65fa947c => http://code.openbravo.com/erp/devel/pi/rev/042e65fa947c15f5e3cc67bfa1d8bebdf3c306fe [^]
2012-05-02 22:22 hgbot Checkin
2012-05-02 22:22 hgbot Note Added: 0048295
2012-05-21 16:17 guilleaer Note Added: 0048812
2012-05-21 16:17 guilleaer Status resolved => closed
2012-05-21 16:17 guilleaer Fixed in Version => pi
2012-05-25 12:08 hudsonbot Checkin
2012-05-25 12:08 hudsonbot Note Added: 0048972
2012-05-25 12:09 hudsonbot Checkin
2012-05-25 12:09 hudsonbot Note Added: 0048989
2012-05-25 17:54 guilleaer Assigned To dbaz => guilleaer
2012-05-25 17:54 guilleaer Note Added: 0049225
2012-05-25 17:54 guilleaer Status closed => new
2012-05-25 17:54 guilleaer Resolution fixed => open
2012-05-25 17:54 guilleaer Fixed in Version pi =>
2012-05-25 17:54 guilleaer Status new => scheduled
2012-05-25 17:54 guilleaer Note Added: 0049226
2012-05-25 17:54 guilleaer fix_in_branch => pi
2012-05-25 17:54 guilleaer Note Added: 0049227
2012-05-25 17:54 guilleaer Status scheduled => resolved
2012-05-25 17:54 guilleaer Fixed in Version => 3.0MP12
2012-05-25 17:54 guilleaer Resolution open => fixed
2012-05-25 17:54 guilleaer Note Added: 0049228
2012-05-25 17:54 guilleaer Status resolved => closed
2012-09-16 19:51 guilleaer Assigned To guilleaer => dbaz
2012-09-16 19:51 guilleaer Status closed => new
2012-09-16 19:51 guilleaer Resolution fixed => open
2012-09-16 19:51 guilleaer Fixed in Version 3.0MP12 =>
2012-09-16 19:52 guilleaer Status new => scheduled
2012-09-16 19:52 guilleaer Status scheduled => resolved
2012-09-16 19:52 guilleaer Resolution open => fixed
2012-09-16 19:52 guilleaer Closed by => guilleaer
2012-09-16 19:52 guilleaer Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker