Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009334Openbravo ERPA. Platformpublic2009-06-04 12:572009-06-20 00:00
AinhoaPagola 
shuehner 
urgentmajorhave not tried
closedfixed 
20Ubuntu 8.4
main 
pi 
Core
No
0009334: Filter not working on edition mode on modules
In windows created in modules, the filter doesn't work if you are in edition mode.

It works from grid view.
1.- Create a table/window in a new module.
2.- Set some columns as filter columns
3.- Go to the recently created window and enter some registers.
4.- Perform a search over those values. Do not leave the filter blank.

If the search is done from grid view the search is properly done.
If the search is done from edition view an exception is launched.
In my concrete case:
Window: employee
Package: org.openbravo.hcm.commonEmployee

At the moment, you are redirected to: /openbravo/Employee/Employee_Relation.html

But you should be redirected to:

openbravo/org.openbravo.hcm.commonEmployee/Employee_Relation.html
Modularity
? org.openbravo.hcm.common-1.0.0.obx (156,025) 2009-06-10 12:11
https://issues.openbravo.com/file_download.php?file_id=1411&type=bug
Issue History
2009-06-04 12:57AinhoaPagolaNew Issue
2009-06-04 12:57AinhoaPagolaAssigned To => rafaroda
2009-06-05 08:06rafarodaAssigned Torafaroda => alostale
2009-06-05 08:06rafarodaPrioritynormal => urgent
2009-06-05 08:06rafarodaStatusnew => scheduled
2009-06-10 09:24iciordiaAssigned Toalostale => shuehner
2009-06-10 12:11AinhoaPagolaNote Added: 0017172
2009-06-10 12:11AinhoaPagolaFile Added: org.openbravo.hcm.common-1.0.0.obx
2009-06-10 19:31shuehnerNote Added: 0017195
2009-06-12 12:58hgbotCheckin
2009-06-12 12:58hgbotNote Added: 0017253
2009-06-12 12:58hgbotStatusscheduled => resolved
2009-06-12 12:58hgbotResolutionopen => fixed
2009-06-12 12:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/047ee25acc47d11bc7ed2236736d3a1a488649d1 [^]
2009-06-12 14:31AinhoaPagolaNote Added: 0017263
2009-06-18 10:52AinhoaPagolaTag Attached: Modularity
2009-06-19 12:45sureshbabuStatusresolved => closed
2009-06-19 12:45sureshbabuFixed in Version => pi
2009-06-20 00:00anonymoussf_bug_id0 => 2809273

Notes
(0017172)
AinhoaPagola   
2009-06-10 12:11   
I attach the module where I reproduce the issue
(0017195)
shuehner   
2009-06-10 19:31   
Problem is the code which calls the Search Popup as its passes the wrong url (without taking into account that the target is a module).
(0017253)
hgbot   
2009-06-12 12:58   
Repository: erp/devel/pi
Changeset: 047ee25acc47d11bc7ed2236736d3a1a488649d1
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Jun 12 12:54:26 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/047ee25acc47d11bc7ed2236736d3a1a488649d1 [^]

Fixed 9334: Fix search popup to work with generated windows in modules
- use getTabURL utility function to build url to a tab which works for windows in core and moduels

---
M src/org/openbravo/erpCommon/businessUtility/Buscador.java
---
(0017263)
AinhoaPagola   
2009-06-12 14:31   
I have retested the issue and the fix works for me.