ExternalSources index_html may be quite annoying

Bug #101581 reported by Guido Wesdorp
8
Affects Status Importance Assigned to Milestone
Silva
Fix Released
Low
Jan-Wijbrand Kolman

Bug Description

While working on a combined SimpleContent/ExternalSource object, I noticed how
the object's public view wasn't present because ExternalSource overrides
index_html, making that the Python index_html script in the Silva root (which is
responsible for displaying public views of Silva objects) can't be reached. It
would make sense to have the current index_html method on ExternalSource renamed
to something else ('test' springs in mind, since it seems this method is only
for testing purposes anyway) so that combining 'normal' Silva objects with
ExternalSource objects becomes easier (currently I had to copy the code of the
index_html script to a method on the subclass).

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

Deferring this one.

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

Post Silva 1.5

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

This is fixed since the index_html method have been removed. However there is no current way to test a code source except adding it inside a documentation (having a test screen in ZMI would be lovely however it needs to provide facility to input parameters, like a ZSQL method does).

Changed in silva:
milestone: none → 3.0
status: New → Fix Released
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.