Apache Mod-Python - Created: (MODPYTHON-237) Publisher doesn't process nested

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > June 2007 > Created: (MODPYTHON-237) Publisher doesn't process nested





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-237) Publisher doesn't process nested
Graham Dumpleton (JIRA)

2007-06-30, 1:13 am

Publisher doesn't process nested callable objects returned from a top level callable object properly.
-----------------------------------------------------------------------------------------------------

Key: MODPYTHON-237
URL: https://issues.apache.org/jira/browse/MODPYTHON-237
Project: mod_python
Issue Type: Bug
Components: publisher
Affects Versions: 3.3.1, 3.2.10
Reporter: Graham Dumpleton


As discussed in thread:

http://www.modpython.org/pipermail/...une/023910.html

the publish_object() function in mod_python.publisher, tries to invoke callable objects returned from a callable object. This doesn't always work as the rule set in place and applied on at the top level to restrict what types of objects can be accessed is
n't applied.

Need to work out whether it should even been recursive calling callable objects, or only provided string representation of any thing returned by the top level callable object. FWIW, publisher in Vampire always only returns a string representation of objec
t returned by top level callable.

The code also has other problems if one were to allow returned callable to be recursive called, as doesn't make use of req.form properly.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com