ExternalSources index_html may be quite annoying

Bug #101581 reported by Guido Wesdorp on 2006-01-11
Affects Status Importance Assigned to Milestone
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).

Martijn Faassen (faassen) wrote :

Deferring this one.

Martijn Faassen (faassen) wrote :

Post Silva 1.5

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  Edit
Everyone can see this information.

Other bug subscribers