Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009335Openbravo ERP00. Application dictionarypublic2009-06-04 14:122009-06-18 00:00
networkb 
shuehner 
immediateminoralways
closedfixed 
5
2.50MP1 
 
Core
No
0009335: When a combo with a validation is included in the Search pop-up, the validation does not work
In Tax Rate window, there are two combos (C_Country_ID, C_Region_ID). The second one, has a validation to filter regions by the Country.

If those columns, are added as fields in the Search pop-up (in the toolbar) of the window, the validation for the region does not work
Login as system administrator role
Go to Applicacion dictionary > Tables Adn Columns.
Search C_Tax table.
Move to columns tab and check, C_Country_ID and C_Region_ID as "Filter columns"
Logout and login as openbravo admin
Go to Tax Rate window.
Open Seach pop-up, Select one country. Regions are not filtered by the country -> validation is not working

To test the fix is correct, select spain as a country. The combo region should be filled. Then select other country and the combo region should blank
No tags attached.
depends on backport 0009450 closed shuehner When a combo with a validation is included in the Search pop-up, the validation does not work 
has duplicate defect 0007418 closed shuehner Validations are not respected when Searching records 
related to defect 0009495 closed alostale The validation on the parameters of a process definition, does not work with refering to fields on the popup 
related to defect 0009535 closed shuehner Default action (Enter key for OK) in search popup does not work anymore 
related to defect 00111712.50MP11 closed alostale Sales order window: Pop-up search->Transactional document combo box empty 
Issue History
2009-06-04 14:12networkbNew Issue
2009-06-04 14:12networkbAssigned To => rafaroda
2009-06-04 16:29rafarodaAssigned Torafaroda => shuehner
2009-06-04 16:29rafarodaStatusnew => scheduled
2009-06-04 16:30rafarodaRelationship addedhas duplicate 0007418
2009-06-08 21:56hgbotCheckin
2009-06-08 21:56hgbotNote Added: 0017117
2009-06-08 21:56hgbotStatusscheduled => resolved
2009-06-08 21:56hgbotResolutionopen => fixed
2009-06-08 21:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eb284f20977d6407c6b4fe45af33daab8895226c [^]
2009-06-08 21:59shuehnerNote Added: 0017118
2009-06-12 10:20rafarodaIssue cloned0009450
2009-06-12 10:20rafarodaRelationship addeddepends on 0009450
2009-06-12 16:09hgbotCheckin
2009-06-12 16:09hgbotNote Added: 0017268
2009-06-12 16:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/eb284f20977d6407c6b4fe45af33daab8895226c [^] => http://code.openbravo.com/erp/devel/pi/rev/9af62e75f669def2e9eada02a27ff601c0d8edfa [^]
2009-06-16 23:05psarobeProposed Solution updated
2009-06-16 23:06psarobeNote Added: 0017370
2009-06-17 09:51alostaleRelationship addedrelated to 0009495
2009-06-17 10:46arunkumarStatusresolved => closed
2009-06-17 10:46arunkumarNote Added: 0017380
2009-06-18 00:00anonymoussf_bug_id0 => 2807996
2009-06-18 12:20shuehnerRelationship addedrelated to 0009535
2009-11-16 13:32alostaleRelationship addedrelated to 0011171

Notes
(0017117)
hgbot   
2009-06-08 21:56   
Repository: erp/devel/pi
Changeset: eb284f20977d6407c6b4fe45af33daab8895226c
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Jun 08 21:55:51 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb284f20977d6407c6b4fe45af33daab8895226c [^]

Fixed 9335: Implement ComboReloads for the search popup:
- add the frameset/hiddenFrame needed for the callouts to the search popup and add servlet code to use it
- enhance ComboTableData class with special case for search popup as its uses a different column name/request name pattern
- enhance generated ComboReloads* code to implement a different pattern as well
- change Search popup servlet to trigger the needed callouts for the ComboReloads

---
M src-wad/src/org/openbravo/wad/ComboReloads.javaxml
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java
M src/org/openbravo/erpCommon/businessUtility/Buscador.html
M src/org/openbravo/erpCommon/businessUtility/Buscador.java
M src/org/openbravo/erpCommon/businessUtility/Buscador_data.xsql
M src/org/openbravo/erpCommon/utility/ComboTableData.java
M src/org/openbravo/erpCommon/utility/Utility.java
A src/org/openbravo/erpCommon/businessUtility/Buscador_FS.html
A src/org/openbravo/erpCommon/businessUtility/Buscador_FS.xml
---
(0017118)
shuehner   
2009-06-08 21:59   
Note to QA for testing needed in addition to new functionality:

As common code used by all ComboBoxes, ComboReloads was touched please test that this functions unrelated to the Search Popup still work fine. There should be zero behavior change for these.
(0017268)
hgbot   
2009-06-12 16:09   
Repository: erp/devel/pi
Changeset: 9af62e75f669def2e9eada02a27ff601c0d8edfa
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Jun 12 16:09:25 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9af62e75f669def2e9eada02a27ff601c0d8edfa [^]

Issue 9335: Fix logic error missed in the first commit

---
M src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java
---
(0017370)
psarobe   
2009-06-16 23:06   
Stefan regardind on your note to QA.

Can you give us some examples about how this change can affect the application. You explanation is not clear enough

thanks in advantage
(0017380)
arunkumar   
2009-06-17 10:46   
when we select the country the regions are filtered according to the country.