[Zope] AUTHENTICATED_USER problem

Ross J. Reedstrom reedstrm@wallace.ece.rice.edu
Mon, 17 May 1999 00:12:06 -0500 (CDT)


Well folks - 
I still don't know why the previous code didn't work, but I found a work around:

I changed this:
<!--#call "_.getitem(REQUEST['id']).manage_addProperty(
               'addedby',REQUEST['AUTHENTICATED_USER'], 'string')"-->

into this:
<!--#call "_.getitem(REQUEST['id']).manage_addProperty(
            'addedby',REQUEST.get('AUTHENTICATED_USER'), 'string')"-->

And everybody's happy now.

Later,
Ross
-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005