[Catalyst] Error: "You requested a stash, but one does not exist"
jjn1056 at yahoo.com
Tue Feb 24 14:08:48 GMT 2015
If you have time to add a note in the Upgrading.POD file, feel free to send a pull request ;) => perl-catalyst/catalyst-runtime
On Tuesday, February 24, 2015 5:12 AM, Johannes Kilian <Jo.Kilian at gmx.de> wrote:
Hello John, On Monday, February 23, 2015, John Napiorkowski <jjn1056 at yahoo.com> wrote:...The likely reason is that about 9 months ago the stash was moved to the middleware layer, which makes it context bound and you are asking for the stash in application scope.... Yes - you are right. Completly forgot about this - while I stuck in developing on Perl 5.18/Catalyst 5.8xxxx until yesterday.The error was indeed still using stash within application scope. After moving all stash access from application scope into the controller scope (root controller) everything works again as expected. Thanks for your valueable hint. RegardsJohannes
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://firstname.lastname@example.org/
Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst