[Catalyst] Error: "You requested a stash, but one does not exist"

John Napiorkowski jjn1056 at yahoo.com
Tue Feb 24 14:08:48 GMT 2015


Johannes,
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
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20150224/05dc4f87/attachment.htm>


More information about the Catalyst mailing list