View Issue Details

IDProjectCategoryView StatusLast Update
0001636OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:38
ReporterMichaelZ Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionnot fixable 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.0 revision 26948 
Summary0001636: oxView::_executeNewAction not working as documented
DescriptionI'm trying to use the feature, that allows view-methods that were called by the shop controller (cl=something&fnc=somethingelse) to return a string that causes a redirect to a different view-class/-method.

From studying the code I figured out, that oxView::_executeNewAction(string) is examining the return value of the current view-method and redirecting accordingly.

The documentation for this method states, that this string must be of the following form:

[component_name@]view_name[/function_name]?param1=val1&param2=val2

My view-method returns a string of the form "viewClassName/viewMethodName", however the recirect-URL created by this method is of the following form:

http://<shop-domain>/index.php?cl=viewClassName& (the fnc parameter quoting the specified viewMethodName is missing).
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

arvydas_vapsva

2010-02-05 14:00

reporter   ~0002341

sorry, outdated method documentation. Normally input parameter should look like "details?fnc=fncName&param1=value1&param2=value2"; it will be translated into "cl=details&fnc=fncName&param1=value1&param2=value2"