#588: [PATCH] Allow extra check for output types that are declared before the
Action
--------------------+-------------------------------------------------------
Reporter: ross | Owner: david
Type: defect | Status: closed
Priority: normal | Milestone: 0.11
Component: filter | Version: 0.11.0RC5
Severity: normal | Resolution: fixed
Keywords: |
--------------------+-------------------------------------------------------
Changes (by david):
* status: reopened => closed
* resolution: => fixed
Comment:
That's not possibe. Once, say, "html" was run and cached two separate
cache files are created - one for the action, one for the view (and that
is per output type). If you then run it again with "rss", the action cache
is already there, and I cannot know if I really do not have to run it
again because you can set the output type in a View's initialize method.
It's a chicken and egg problem, but if we implement your suggestion, that
that would mean that this feature might be broken under certain
circumstances, which is not really the Agavi way, plus it might drive tons
of people with "wtf" questions about this to the support channels :( There
really is no way at all to solve this, mate. Sorry :(
--
Ticket URL: <http://trac.agavi.org/ticket/588#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets