Z SQL Method testing has a namespace issue

Bug #142405 reported by Christian Theune
2
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Medium
Unassigned

Bug Description

This is an easy one:

The file lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml

makes use of this dtml code:

<dtml-var URL>

If the executed sql query contains a column named
"url", the batching will break because the result
shadows the request.

Solution:

use <dtml-var "REQUEST['URL']"> instead.

I can fix it, just mail me at <email address hidden> to do so.
It's no major thing, but should be done.

Revision history for this message
Hanno Schlichting (hannosch) wrote :

The code in this ticket isn't in the template anymore.

Changed in zope2:
status: New → Invalid
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.