GhostFolder instance haunting publications might need to provide IPublication

Bug #101611 reported by Jan-Wijbrand Kolman
4
Affects Status Importance Assigned to Milestone
Silva
Won't Fix
Low
Jan-Wijbrand Kolman

Bug Description

GhostFolders implement the get_publication method and return self whenever they
reference a real publication.

You then expect to be able to call the views registered for IPublication, but
the 'self' (a GhostFolder) does not provide this.

Maybe we can dynamically provide an interface for GhostFolder instances?

Revision history for this message
Sylvain Viollon (thefunny) wrote :

Ghost don't provide the same API, so they should not declare that they do provide the same API. For one, you can edit the content in ghosts, whereas you can in publications.

Changed in silva:
status: Confirmed → 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.