Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007317Openbravo ERPA. Platformpublic2009-02-02 17:042022-02-01 08:08
shuehner 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
pi 
 
Core
No
0007317: GET parameters passed as selector reference columns to selectors are not properly encoded.
At [1] you can specify a list of columns as in or out parameters for selectors. When you specify a column as in parameter and a window has a fieldname matching the parameter, then the field-value is passed into the selector as an additional GET-parameter.

However the values are not (properly) encoded. So if the value contains special characters which have to be encoded (i.e. + or -) then this are not visible inside the selector as they are lost.

[1] Application Dictionary || Reference || Reference >> Selector Reference >> Selector Reference Columns
One example where this problem can happen (only reproducible for developers).

Go to Application Dictionary || Reference || Reference >> Selector Reference >> Selector Reference Columns for the Selector Product
Add a new entry productiontype.
Change the reference of the Field M_product_id of the Tab 'I/O Products' of the 'Process Plan' window to Search, and specify Product as search reference key
Change the Product-selector to debug-print the value of the 'inpproductiontype' parameter.
Recompile the 'Process Plan' group of windows
Go to the 'I/O Products' tab and open the selector
See in your added debug-code that you do not get the value correctly (as productiontype contains either + or -)
Change Logic for building this GET requests for properly encode all parameters (in wad)
No tags attached.
Issue History
2009-02-02 17:04shuehnerNew Issue
2009-02-02 17:04shuehnerAssigned To => rafaroda
2009-02-02 17:05shuehnersf_bug_id0 => 2557375
2009-02-02 17:05shuehnerRegression testing => No
2009-02-02 17:06shuehnerNote Added: 0013027
2009-02-10 10:02psarobeStatusnew => scheduled
2009-02-10 10:02psarobefix_in_branch => trunk
2009-02-27 13:32rafarodaAssigned Torafaroda => shuehner
2009-02-27 13:32rafarodaStatusscheduled => acknowledged
2009-02-27 13:32rafarodaTypedefect => feature request
2009-02-27 13:32rafarodafix_in_branchtrunk =>
2012-02-20 11:41shuehnerAssigned Toshuehner => alostale
2017-04-10 14:37alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0013027)
shuehner   
2009-02-02 17:06   
This should possibly be moved to Feature Request to audit all Link/Get-Request building places for the same error.