View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006383||OXID eShop (all versions)||4. ------ eShop Core -------||public||2016-04-28 08:41||2016-04-28 09:20|
|Target Version||Fixed in Version|
|Summary||0006383: session not saved and method not found caused by widget parent|
|Description||Widgets(or the template within that widget) have the ability to acces methods from the parent controller.|
The parent controller belongs to the scope in which the widget is use.
To support this the widget must be called with an parameter containing that parent(s). This is not used often because it cost performance, and most times widgets are included directly (without ajax or ESI (varnish)) so the parent is already known and existing in the view chain.
But in all cases where parent controller has to be added to the view chain,
for example if you explicitly set an other parent, the view chain hold that parent after the widget is rendered.
The problem with that is that the shop frame work will then refuse to save the session because the viewchan is not empty an it 'thinks' that the prent will take care of finalize things. The other problem is that all access to parents from that point will get the wrong one and so method not found execeptions may happen
|Tags||No tags attached.|
|PHP Version||Not defined|
|Database Version||Not defined|