get_tabs up_id doesn't change to breadcrumb

Bug #100736 reported by Andy Altepeter
10
Affects Status Importance Assigned to Milestone
Silva
Won't Fix
Wishlist
Kit Blake

Bug Description

If I have an up_id specified in a content types get_tabs.py script that is
different from the current tab, e.g.:

# name, id/None, up_id, toplink_accesskey, tab_accesskey, uplink_accesskey
('Enrollment', 'tab_enrollment', 'tab_edit', '@', '2', '7'),

The up_id's are changed in the up_parent and up_top links to either side of the
tab, but the breadcrumb above the tabs doesn't use it.

In this case, the breadcrumbs would look like:

<path_to_upper_container>/edit/tab_enrollment, but should be:
<path_to_upper_container>/edit/tab_edit

Revision history for this message
Clemens Robbenhaar (crobbenhaar) wrote :

The breadcrumb seems to append just "/edit/" + the template id,
and ignore the information in the "up_id_ from the get_tabs completely ...

Revision history for this message
Andy Altepeter (aaltepet) wrote :

Prob. doesn't matter much, but the version I noticed it in is 0.9.2

Revision history for this message
Clemens Robbenhaar (crobbenhaar) wrote :

Adding a few topics, so it gets better caught by the issue-radar of some people

Revision history for this message
Martijn Faassen (faassen) wrote :

I'm asking Kit to verify this and figure out what's wrong and needs to be done.
Then please reassign the issue to someone else who can fix any necessary Python,
Kit.

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

Solving this is not simple. The breadcrumbs are 'gotten' from SilvaObject, and
the code does not consult get_tabs.py for the meta_type, it just returns the
objects. Silva objects don't have an "up_id".

To fix this we'll have to include the breadcrumbs in the future refactoring of
the tab navigation generation code.

Kit Blake (kitblake)
Changed in silva:
importance: Medium → Wishlist
Revision history for this message
Sylvain Viollon (thefunny) wrote :

There is no more get_tabs up_id or breadcrumbs in Silva 3.0.

Changed in silva:
milestone: none → 3.0
status: Incomplete → Won't Fix
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.