Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014136Openbravo ERPZ. Otherspublic2010-08-05 20:282010-12-09 16:04
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
2.50 
 
User Interface Selector
No
0014136: List reference values should show translated and readable values.
The selector shows list reference values not as translated or readable values. Instead the database value is shown.

Also filters should show a combobox instead of a free text field.

See this forum post:
http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=886353&topicid=7009084&topid=7016865 [^]
No tags attached.
has duplicate defect 0014217 closed mtaal The UI selector does not work properly if you add a list type 
blocks feature request 0014151 closed mtaal UI Selector issues 
Issue History
2010-08-05 20:28mtaalNew Issue
2010-08-05 20:28mtaalAssigned To => mtaal
2010-08-16 14:55mtaalNote Added: 0030023
2010-08-17 13:40mtaalRelationship addedhas duplicate 0014217
2010-08-19 18:57hgbotCheckin
2010-08-19 18:57hgbotNote Added: 0030162
2010-08-19 18:57hgbotStatusnew => resolved
2010-08-19 18:57hgbotResolutionopen => fixed
2010-08-19 18:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.service.datasource/rev/a899b36827fd97448f6b82153766806a75bbe2ef [^]
2010-08-23 10:23mtaalRelationship addedblocks 0014151
2010-09-05 14:17mtaalNote Added: 0030615
2010-09-05 14:17mtaalStatusresolved => new
2010-09-05 14:17mtaalResolutionfixed => open
2010-09-05 22:23hgbotCheckin
2010-09-05 22:23hgbotNote Added: 0030622
2010-09-05 22:23hgbotStatusnew => resolved
2010-09-05 22:23hgbotResolutionopen => fixed
2010-09-05 22:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/mods/org.openbravo.service.datasource/rev/a899b36827fd97448f6b82153766806a75bbe2ef [^] => http://code.openbravo.com/erp/mods/org.openbravo.service.datasource/rev/a55dd5d5f654ea85daea66791e46f10b1b50c6bc [^]
2010-09-06 13:10marvintmNote Added: 0030644
2010-09-06 13:10marvintmStatusresolved => closed
2010-12-09 16:04anonymoussf_bug_id0 => 3133348

Notes
(0030023)
mtaal   
2010-08-16 14:55   
The solution which should be chosen here is to show a combobox. The options in the combobox show the translated value while the value which is sent to the server is the database value.
(0030162)
hgbot   
2010-08-19 18:57   
Repository: erp/mods/org.openbravo.service.datasource
Changeset: a899b36827fd97448f6b82153766806a75bbe2ef
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 19 18:56:51 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.service.datasource/rev/a899b36827fd97448f6b82153766806a75bbe2ef [^]

Fixes issue 14136: List reference values should show translated and readable values.

---
M src/org/openbravo/service/datasource/DataSourceComponent.java
M src/org/openbravo/service/datasource/DataSourceJavaScriptCreator.java
M src/org/openbravo/service/datasource/DataSourceProperty.java
M src/org/openbravo/service/datasource/templates/datasource.ftl
---
(0030615)
mtaal   
2010-09-05 14:17   
Re-opening, also the following case needs to be handled: if there are no translatable values then the name of the list reference should be used and not the db value.
(0030622)
hgbot   
2010-09-05 22:23   
Repository: erp/mods/org.openbravo.service.datasource
Changeset: a55dd5d5f654ea85daea66791e46f10b1b50c6bc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Sep 05 22:23:34 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.service.datasource/rev/a55dd5d5f654ea85daea66791e46f10b1b50c6bc [^]

Fixes issue 14136: List reference values should show translated and readable values.

---
M src/org/openbravo/service/datasource/DataSourceProperty.java
---
(0030644)
marvintm   
2010-09-06 13:10   
Verified that it works in the case that the list entry doesn't have a translation for the language currently active. Also, verified that it works in the case that the module which adds the list reference has a different language from English.