Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007317
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2009-02-02 17:042022-02-01 08:08
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007317: GET parameters passed as selector reference columns to selectors are not properly encoded.

DescriptionAt [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
Steps To ReproduceOne 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 -)
Proposed SolutionChange Logic for building this GET requests for properly encode all parameters (in wad)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0013027)
shuehner (administrator)
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.

- Issue History
Date Modified Username Field Change
2009-02-02 17:04 shuehner New Issue
2009-02-02 17:04 shuehner Assigned To => rafaroda
2009-02-02 17:05 shuehner sf_bug_id 0 => 2557375
2009-02-02 17:05 shuehner Regression testing => No
2009-02-02 17:06 shuehner Note Added: 0013027
2009-02-10 10:02 psarobe Status new => scheduled
2009-02-10 10:02 psarobe fix_in_branch => trunk
2009-02-27 13:32 rafaroda Assigned To rafaroda => shuehner
2009-02-27 13:32 rafaroda Status scheduled => acknowledged
2009-02-27 13:32 rafaroda Type defect => feature request
2009-02-27 13:32 rafaroda fix_in_branch trunk =>
2012-02-20 11:41 shuehner Assigned To shuehner => alostale
2017-04-10 14:37 alostale Assigned To alostale => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker