Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015391Openbravo ERPA. Platformpublic2010-12-09 16:382011-05-24 10:56
shuehner 
gorkaion 
normalminorhave not tried
closedfixed 
5
 
 
User Interface Selector
No
0015391: Defined selector with three inActive selector fields -> renders popup in classic window with all possible fields being shown
Defining a selector with has a few selector fields being defined but all of them inactive renders incorrectly in a classic window using it.

Instead of only getting a combobox and no-popup. The popup can be opened and does show all possible columns.

Note that having no-selector fields at all works fine (only combo, no popup)
And also having active selector fields works fine (having popup with those fields shown)

closingMay2011
depends on backport 0016119 closed gorkaion Defined selector with three inActive selector fields -> renders popup in classic window with all possible fields being shown 
related to defect 0015387 closed gorkaion DataToJsonConverter check (for access) selector fields which are defined but marked as isactive ='N' 
png 15391.png (50,803) 2010-12-09 16:42
https://issues.openbravo.com/file_download.php?file_id=3413&type=bug
png

? org.test-0.0.0.obx (4,005) 2010-12-09 16:45
https://issues.openbravo.com/file_download.php?file_id=3414&type=bug
? org.testtemplate-0.0.0.obx (2,610) 2010-12-09 16:45
https://issues.openbravo.com/file_download.php?file_id=3415&type=bug
Issue History
2010-12-09 16:38shuehnerNew Issue
2010-12-09 16:38shuehnerAssigned To => mtaal
2010-12-09 16:38shuehnerModules => User Interface Selector
2010-12-09 16:42shuehnerFile Added: 15391.png
2010-12-09 16:43shuehnerNote Added: 0033091
2010-12-09 16:45shuehnerFile Added: org.test-0.0.0.obx
2010-12-09 16:45shuehnerFile Added: org.testtemplate-0.0.0.obx
2010-12-09 16:45shuehnerNote Added: 0033092
2010-12-09 16:46shuehnerRelationship addedrelated to 0015387
2010-12-13 09:03alostaleStatusnew => scheduled
2011-02-28 15:39mtaalAssigned Tomtaal => gorkaion
2011-03-03 12:20gorkaionStatusscheduled => acknowledged
2011-03-03 12:20gorkaionStatusacknowledged => scheduled
2011-03-03 12:20gorkaionfix_in_branch => pi
2011-03-03 12:30hgbotCheckin
2011-03-03 12:30hgbotNote Added: 0034529
2011-03-03 12:30hgbotStatusscheduled => resolved
2011-03-03 12:30hgbotResolutionopen => fixed
2011-03-03 12:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/53196cb59edb975b4ecfd42bfe519d1d400ca2c2 [^]
2011-05-24 10:11dalsasuaTag Attached: closingMay2011
2011-05-24 10:56dalsasuaStatusresolved => closed

Notes
(0033091)
shuehner   
2010-12-09 16:43   
Enocuntered on pi + latest module version (default branch), i.e. selector rev: 092831b01af5
(0033092)
shuehner   
2010-12-09 16:45   
Attached modules define a selector (Reference) named 'test' which is used in the tab 'Lines' of the 'Sales Order' window and reproduces the issue described here.
(0034529)
hgbot   
2011-03-03 12:30   
Repository: erp/devel/pi
Changeset: 53196cb59edb975b4ecfd42bfe519d1d400ca2c2
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Thu Mar 03 12:27:32 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/53196cb59edb975b4ecfd42bfe519d1d400ca2c2 [^]

Fixed issue 15391. Fixed issue 15387. Get only active fields from selector.

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
---