SNN publication root: This object is not viewable

Bug #160504 reported by Valentim
2
Affects Status Importance Assigned to Milestone
SilvaNewsNetwork
Fix Committed
Wishlist
Sylvain Viollon

Bug Description

In breadcrumbs, inside a specific article, if i click in the News Publication title (that returns to the root of News Publication), i'll see this:
  This object is not viewable

I tried to add a Autotoc and a Silva Link with the id 'index' but none of them seems to solve the problem.

Revision history for this message
Valentim (valentim) wrote :

Versions: SilvaNewsNetwork 2.5 and Silva 2.0

Revision history for this message
Kit Blake (kitblake) wrote :

This problem is a fundamental mistake in the news architecture. The news publication is treated as a repository, and can't display content. Until we change this, the only workaround is to hack the breadcrumb trail. You can put a content.html in the news pubilcation with:
<metal:crumbs fill-slot="crumbs">
  <a href="/">Home</a> &middot; <a href="/news">News</a> &middot; <a tal:attributes="href here/absolute_url" tal:content="here/get_title">title</a>
</metal:crumbs>

Changed in silva-news-network:
status: New → Incomplete
importance: Undecided → Wishlist
Changed in silva-news-network:
status: Incomplete → Triaged
Revision history for this message
Sylvain Viollon (thefunny) wrote :

News publication have a public view now. (And by so a preview as well).

Changed in silva-news-network:
assignee: nobody → Sylvain Viollon (thefunny)
milestone: none → 2.9
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.