Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004849Openbravo ERP00. Application dictionarypublic2008-09-08 11:092008-11-25 23:11
alostale 
alostale 
urgentcriticalalways
closedfixed 
5
pi 
pi 
Core
No
0004849: New list references do not work
When a new list reference is created and assigned to a column no values are displayed for its field. This happens for new references with non-numeric ID.
* Create a new list reference
* Add values
* Associate this reference to a column
* Create a field in a tab for that column
* Compile that window
* Enter in the window -> No values are shown for the field
UUID project
Issue History
2008-09-08 11:09alostaleNew Issue
2008-09-08 11:09alostaleAssigned To => alostale
2008-09-08 11:09alostalesf_bug_id0 => 2099812
2008-09-08 11:09alostaleRegression testing => No
2008-09-08 11:10alostaleTag Attached: UUID project
2008-09-08 11:20svnbotCheckin
2008-09-08 11:20svnbotNote Added: 0008914
2008-09-08 11:20svnbotStatusnew => resolved
2008-09-08 11:20svnbotResolutionopen => fixed
2008-09-08 11:20svnbotsvn_revision => 6983
2008-09-11 10:50rafarodaNote Added: 0008986
2008-09-11 16:23svnbotCheckin
2008-09-11 16:23svnbotNote Added: 0009003
2008-09-11 16:23svnbotsvn_revision6983 => 7208
2008-11-25 23:11psarobeStatusresolved => closed

Notes
(0008914)
svnbot   
2008-09-08 11:20   
Repository: openbravo
Revision: 6983
Author: alostale
Date: 2008-09-08 11:20:09 +0200 (Mon, 08 Sep 2008)

fixed bug 0004849: New list references didn't work

---
U trunk/src/org/openbravo/erpCommon/utility/ComboTableData.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=6983&sc=1 [^]
(0008986)
rafaroda   
2008-09-11 10:50   
Must replace in ComboTableData.java:

try {
  Integer.valueOf(_reference).intValue();
} catch (Exception ignore) {
  _reference = ComboTableQueryData....;
}

by

if (!IsUUID.isUUIDString(_reference)) {
  _reference = ComboTableQueryData....;
}

Where isUUIDString determines if a string of characters is an Openbravo UUID.
(0009003)
svnbot   
2008-09-11 16:23   
Repository: openbravo
Revision: 7208
Author: rafaroda
Date: 2008-09-11 16:22:58 +0200 (Thu, 11 Sep 2008)

Fixes bug 0004849 Added 'if(!Utility.isUUIDString(_reference))'.

---
U trunk/src/org/openbravo/erpCommon/utility/ComboTableData.java
U trunk/src/org/openbravo/erpCommon/utility/Utility.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=7208&sc=1 [^]