view_parameters only works once

view_parameters only works once

Friday 16 December 2005 9:39:26 pm - 4 replies

Modified on Friday 16 December 2005 9:43:25 pm by Daniel Guerrier

Author Message

Daniel Guerrier

Saturday 17 December 2005 12:56:59 pm

I reduced the template down to just outputing the view_parameters.myparam and it only gets passed once per variable until I remove the content cache. The permissions are set to 770 and owned by the webserver user. That part is working fine. The only error when debug is turned on is the error stating the parameter is null on the second execution. any idea what can be the problem. again the same code works fine on windows.

Daniel Guerrier

Saturday 17 December 2005 1:12:07 pm

I've reduced everything to this and it wont take in the parameter if a cache entry exists.

{def $ep_id=$view_parameters.content_id}
{$ep_id}
{undef}

I'm getting this
Error: eZTemplate @ design/s2h/templates/episodexml.tpl:1[0] Dec 17 2005 16:12:09
Unknown template variable 'view_parameters' in namespace ''

Daniel Guerrier

Wednesday 21 December 2005 1:38:26 pm

Are any of the ez folks concerned about this one?
I would think that an issue that seems this important would get more attention.

Paul Forsyth

Thursday 22 December 2005 12:32:23 am

Try filing a bug for this.

Paul

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.