Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011646 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | major | always | 2009-12-04 13:30 | 2009-12-10 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | d9b7efe339f6 | |||
Projection | none | ETA | none | Target Version | 2.50MP10 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP9 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011646: Error obtained when any field in Information tab of Organization window | |||||||
Description | The 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 Reproduce | 1. 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 Solution | The 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0022463) networkb (viewer) 2009-12-04 18:24 |
issue updated with more details |
(0022499) psarobe (viewer) 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 (viewer) 2009-12-09 13:52 |
Tested on pi @ 90377f579921 |
![]() |
|||
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 13:30 | networkb | OBNetwork customer | => Yes |
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 |