containers as index 'documents'

Reported by Andy Altepeter on 2005-11-29
4
Affects Status Importance Assigned to Milestone
Silva
Medium
Sylvain Viollon

Bug Description

If you add a folder (or presumably a publication) with id of 'index' (the index
document of a container), it appears twice, once in the '0' location, and once
in it's real location. My first thought was to suggest raising this as an
error, but someone may have an index container that is a gallery (containing
images), so that one would make sense. Unless there was an "allow_as_index"
function...

Kit Blake (kitblake) wrote :

I noticed on a site where 'index' is a Ghost Folder. Somewhat dangerous, as I
almost deleted the 'second' one.

Kit Blake (kitblake) on 2007-04-19
Changed in silva:
importance: Medium → Undecided
Sylvain Viollon (thefunny) wrote :

- The name chooser should not permit to pick index as an id for a container

- get_default method should pay attention not to return a container.

Those cases should be tested.

Changed in silva:
assignee: nobody → Sylvain Viollon (thefunny)
importance: Undecided → Medium
milestone: none → 3.0.2
Sylvain Viollon (thefunny) wrote :

This is fixed.

Changed in silva:
status: Confirmed → Fix Committed
Changed in silva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers