I just recently upgraded a 1.6.7 site to 1.8.7 and mezzanine 4.0.1 and 
cartridge 0.10. Everything went pretty smoothly, but I get an 
AttributeError when attempting to load a Category page.




<https://lh3.googleusercontent.com/-YgNO75DlWjU/Vnms87wQaeI/AAAAAAAALIs/5uP-3qd0CDU/s1600/Screen%2BShot%2B2015-12-22%2Bat%2B2.04.22%2BPM.png>





Here is the link to the middleware line:

https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/pages/middleware.py#L110

The only difference I could find between regular Page models and the 
Category model was this page processor used for categories: 
https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/page_processors.py#L12


In the previous version of mezzanine I was using, exact_page was not a 
parameter for page processors. With exact_page set to True on a Category's 
page processor, L110 of the page middleware evaluates page.is_current which 
appears to not even be set by pages.models.Page.set_helpers (which sets 
is_current) until after the middleware has already been executed. Has 
anyone else run into this issue? Is there more information I can provide?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to