[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing

webmaster@zope.org webmaster@zope.org
Fri, 15 Nov 2002 13:35:34 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#3-46

---------------

      The publisher also marshals arguments from CGI environment
      variables and cookies. When locating arguments, the publisher
      first looks in CGI environment variables, then other request
      variables, then form data, and finally cookies. Once a variable
      is found, no further searching is done. So for example, if your
      published object expects to be called with a form variable named
      'SERVER_URL', it will fail, since this argument will be
      marshaled from the CGI environment first, before the form data.

        % Anonymous User - Nov. 15, 2002 1:35 pm:
         Could readers find the use of the term 'fail' somewhat confusing here? I'm guessing that the 'published
         onject' will still get called OK, but that the value of the 'SERVER_URL' argument would be other than that
         expected?