Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018418Openbravo ERPB. User interfacepublic2011-09-02 08:582011-11-03 18:05
egoitz 
marvintm 
highminoralways
closedfixed 
5
 
3.0MP5 
User Interface Selector
No
0018418: A column with type data not properly on selectors using custom query does not show data
If you use a date column on the custom query of a selector and then show it on the selector, the column does not show any data.

*If you use a table of applicaiton dictionary instead of using a hql, it works well.
-Create a new table table with two columns, apart of the mandatory columns. One column name and other date.
-Define the table on the application dictionary and create a window for the table.
-Add a new column on a table, for example, partner. and define a field for this column.
-Create a new obuisel reference using a custom query.
-The query will select the primary key, name and date of the new table.
-The fields shown on the selector should be name (with refernce string) and date (with reference date.
-Assign the new reference to the new column on partner.
-compile and restart tomcat.
-enter data on the new window (name+date)
-Go to the partner window, and open the new selector.
*See that the date is not shown.
No tags attached.
Issue History
2011-09-02 08:58egoitzNew Issue
2011-09-02 08:58egoitzAssigned To => dbaz
2011-09-02 08:58egoitzModules => User Interface Selector
2011-09-02 08:58egoitzResolution time => 1321311600
2011-09-05 19:01dbazAssigned Todbaz => mtaal
2011-09-26 10:11mtaalAssigned Tomtaal => marvintm
2011-09-26 19:15marvintmTarget Version3.0MP4 => 3.0MP5
2011-10-13 10:09egoitzPriorityurgent => high
2011-10-13 10:09egoitzSeveritymajor => minor
2011-10-14 11:19hgbotCheckin
2011-10-14 11:19hgbotNote Added: 0041831
2011-10-14 11:19hgbotStatusnew => resolved
2011-10-14 11:19hgbotResolutionopen => fixed
2011-10-14 11:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/47fef1b036b7bcb86bfee82b803ae9798d6ff791 [^]
2011-10-18 17:26hudsonbotCheckin
2011-10-18 17:26hudsonbotNote Added: 0041906
2011-11-03 18:05iperdomoNote Added: 0042507
2011-11-03 18:05iperdomoStatusresolved => closed

Notes
(0041831)
hgbot   
2011-10-14 11:19   
Repository: erp/devel/pi
Changeset: 47fef1b036b7bcb86bfee82b803ae9798d6ff791
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 14 11:17:48 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/47fef1b036b7bcb86bfee82b803ae9798d6ff791 [^]

Fixed issue 18418. Added grid fields to the datasource so dates can be parsed correctly.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0041906)
hudsonbot   
2011-10-18 17:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/3a0e09f510aa [^]

Maturity status: Test
(0042507)
iperdomo   
2011-11-03 18:05   
Tested on pi @ rev a5c64b5081f5