◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#6936 (Broken ⏏ button after "Latest blog entries" )

by Luc Saffre · in Developers · assigned to Luc Saffre

Kokkuvõte

The body content of the SpecialPages.blog is:

This page is our blog. [show blogs.LatestEntries]

When an anonymous user clicks on the ⏏ after "Latest blog entries", they get an 404 error because the link is 127.0.0.1:8000/admin/blogs/LatestEntries

I verified that the show memo command gets executed for each request.



Children

Kommentaarid

  • 3 kuud, 1 nädal ago by Luc Saffre about #6936 (Broken ⏏ button after "Latest blog entries" ) : It's because in the settings.py of patrols I set publisher locations to (... ('b', 'blogs.PublicEntries'), ...) instead of (... ('b', 'blogs.LatestEntries'), ...). The show command asks for LatestEntries, and when there is no location for the requested actor, the publisher renderer asks get_requ...
  • 3 kuud, 1 nädal ago by Luc Saffre about #6936 (Broken ⏏ button after "Latest blog entries" ) : When the publisher location points to LatestEntries, then the link works I is broken only when I use PublicEntries instead of LatestEntries for the location.
  • 3 kuud, 1 nädal ago by Luc Saffre about #6936 (Broken ⏏ button after "Latest blog entries" ) : Seems that this is a plain bug in react.Renderer.get_request_url(). publisher.Renderer.get_request_url() redirects to this when there is no publisher location for this request.
  • 3 kuud, 1 nädal ago by Luc Saffre about #6936 (Broken ⏏ button after "Latest blog entries" ) : Created new Ticket #6936 (Should memo commands *not* execute in preview?).