Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013432 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | minor | have not tried | 2010-05-25 14:30 | 2010-06-30 12:16 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | harikrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 0224f63396b4 | |||
Projection | none | ETA | none | Target Version | 2.50MP20 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013432: Identifiers are now UUID and java code cannot suppose are integer values | |||||||
Description | In several parts of the code table identifier values are considered integers but this can be problematic with new registers where the identifier is created as an UUID that is no longer an integer value. The problematic files are: ./org/openbravo/erpCommon/ad_process/ImportAccount.java: int newC_ValidCombination_ID = Integer.valueOf(respuestaCS.CValidCombinationId) ./org/openbravo/erpCommon/ws/services/WebServiceImpl.java: locationList[i] = Integer.valueOf(data[i].cLocationId).intValue(); ./org/openbravo/erpCommon/ad_forms/Translation.java: final int AD_Client_ID = Integer.valueOf(strClient); ./org/openbravo/erpCommon/ad_forms/Translation.java: final int AD_Client_ID = Integer.valueOf(strClient); ./org/openbravo/erpCommon/utility/ReferencedTables.java: switch (Integer.valueOf(adReferenceId).intValue()) { ./org/openbravo/erpCommon/businessUtility/TabFilter.java: switch (Integer.valueOf(reference).intValue()) { | |||||||
Proposed Solution | The solution is not convert identifier values to integer and manage it as string values | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0028643) hgbot (developer) 2010-06-22 06:20 |
Repository: erp/devel/pi Changeset: ac4d5bc99a6d183538c774ed2184431606cee603 Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com> Date: Tue Jun 22 09:46:20 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/ac4d5bc99a6d183538c774ed2184431606cee603 [^] Fixes Issue 13432: Identifiers are now UUID and java code cannot suppose are integer values. --- M src/org/openbravo/erpCommon/ad_forms/Translation.java M src/org/openbravo/erpCommon/ad_process/ImportAccount.java M src/org/openbravo/erpCommon/businessUtility/TabFilter.java M src/org/openbravo/erpCommon/utility/ReferencedTables.java M src/org/openbravo/erpCommon/ws/services/WebService.java M src/org/openbravo/erpCommon/ws/services/WebServiceImpl.java --- |
(0028644) harikrishnan (reporter) 2010-06-22 06:22 |
Root Cause: *In 2.40 Id is in integer,but in 2.5 its UUID.Hence this is changed to string. Impact: I have changed case statement to if else condition.so their is no impact in the functionality. |
(0028668) hgbot (developer) 2010-06-22 14:10 |
Repository: erp/devel/pi Changeset: 0224f63396b4765abcb3cacf2c51b65a72e28117 Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com> Date: Tue Jun 22 17:39:42 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/0224f63396b4765abcb3cacf2c51b65a72e28117 [^] Fixes issue 13432: Reverting some files for changeset that cause API fail. --- M src/org/openbravo/erpCommon/ws/services/WebService.java M src/org/openbravo/erpCommon/ws/services/WebServiceImpl.java --- |
(0028737) adrianromero (manager) 2010-06-24 13:01 |
Issue reviewed |
(0028888) hudsonbot (developer) 2010-06-30 12:16 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/ac4d5bc99a6d [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^] |
(0028890) hudsonbot (developer) 2010-06-30 12:16 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/0224f63396b4 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2010-05-25 14:30 | adrianromero | New Issue | |
2010-05-25 14:30 | adrianromero | Assigned To | => adrianromero |
2010-05-25 14:30 | adrianromero | Relationship added | related to 0013412 |
2010-05-25 14:31 | adrianromero | Status | new => scheduled |
2010-05-25 14:31 | adrianromero | fix_in_branch | => pi |
2010-06-22 06:13 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-06-22 06:20 | hgbot | Checkin | |
2010-06-22 06:20 | hgbot | Note Added: 0028643 | |
2010-06-22 06:20 | hgbot | Status | scheduled => resolved |
2010-06-22 06:20 | hgbot | Resolution | open => fixed |
2010-06-22 06:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ac4d5bc99a6d183538c774ed2184431606cee603 [^] |
2010-06-22 06:22 | harikrishnan | Note Added: 0028644 | |
2010-06-22 14:10 | hgbot | Checkin | |
2010-06-22 14:10 | hgbot | Note Added: 0028668 | |
2010-06-22 14:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/ac4d5bc99a6d183538c774ed2184431606cee603 [^] => http://code.openbravo.com/erp/devel/pi/rev/0224f63396b4765abcb3cacf2c51b65a72e28117 [^] |
2010-06-24 13:01 | adrianromero | Note Added: 0028737 | |
2010-06-24 13:01 | adrianromero | Status | resolved => closed |
2010-06-25 00:00 | anonymous | sf_bug_id | 0 => 3021056 |
2010-06-30 12:16 | hudsonbot | Checkin | |
2010-06-30 12:16 | hudsonbot | Note Added: 0028888 | |
2010-06-30 12:16 | hudsonbot | Checkin | |
2010-06-30 12:16 | hudsonbot | Note Added: 0028890 |
Copyright © 2000 - 2009 MantisBT Group |