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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011646
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2009-12-04 13:302009-12-10 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiond9b7efe339f6
ProjectionnoneETAnoneTarget Version2.50MP10
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011646: Error obtained when any field in Information tab of Organization window

DescriptionThe second time that you try to update any field of Information tab of Organization window, you get the following error:
"You are trying to save a record that is not up to date because it has been modified by another user/process.
Your changes will be lost!
You can revert your changes by reloading the current record from the database clicking on the reload button."

After this error is obtained you can not save any modification in that window.
Steps To Reproduce1. General Setup || Enterprise || Organization: choose any organization and go to its Information tab
2. General Setup || Enterprise || Organization || Organization >> Information : modify any field and save.
3. Modify the same or any other field and try to save.

Also if you press in error "reload button" link and try to modify any field you get the error.
Proposed SolutionThe problem seems to be in Information.java, in the following verification:

if (InformationData.getCurrentDBTimestamp(this, data.adClientId).equals(vars.getStringParameter("updatedTimestamp")))

As it is not filtering by organization, getCurrentDBTimestamp() gets the value of the first record so from second time you try to modify any field it fails.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0022463)
networkb (developer)
2009-12-04 18:24

issue updated with more details
(0022499)
psarobe (manager)
2009-12-07 19:38

you can reproduce consistently in small bazaar. Could this happen in other windows?
(0022570)
hgbot (developer)
2009-12-09 11:16

Repository: erp/devel/pi
Changeset: d9b7efe339f611444b63841c584b45cf71887f2b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 09 11:16:17 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d9b7efe339f611444b63841c584b45cf71887f2b [^]

fixed bug 11646: Error obtained when any field in Information tab of Organization window

---
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src-wad/src/org/openbravo/wad/Wad.java
M src/org/openbravo/erpCommon/utility/TableSQLData.java
---
(0022586)
iperdomo (reporter)
2009-12-09 13:52

Tested on pi @ 90377f579921

- Issue History
Date Modified Username Field Change
2009-12-04 13:30 networkb New Issue
2009-12-04 13:30 networkb Assigned To => rafaroda
2009-12-04 18:24 networkb Note Added: 0022463
2009-12-04 18:24 networkb Summary Error obtained when deleting an Image from an Image field => Error obtained when any field in Information tab of Organization window
2009-12-04 18:24 networkb Description Updated
2009-12-04 18:24 networkb Proposed Solution updated
2009-12-04 18:24 networkb Steps to Reproduce Updated
2009-12-07 19:38 psarobe Status new => scheduled
2009-12-07 19:38 psarobe Note Added: 0022499
2009-12-07 19:38 psarobe Assigned To rafaroda => alostale
2009-12-07 19:38 psarobe fix_in_branch => pi
2009-12-09 11:16 hgbot Checkin
2009-12-09 11:16 hgbot Note Added: 0022570
2009-12-09 11:16 hgbot Status scheduled => resolved
2009-12-09 11:16 hgbot Resolution open => fixed
2009-12-09 11:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d9b7efe339f611444b63841c584b45cf71887f2b [^]
2009-12-09 13:52 iperdomo Note Added: 0022586
2009-12-09 13:52 iperdomo Status resolved => closed
2009-12-10 00:00 anonymous sf_bug_id 0 => 2911684


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker