[Zope-PTK] Good and bad news [reply working... or manybe not]

Adrian Madrid aem@byu.edu
Thu, 22 Mar 2001 20:20:50 -0800 (PST)


Disclaimer: I'm not rantin or anything. I realize that
the finishing touches are ahead.

I just checked out the latest and was amazed to see
that now the replies to an article show the correct
creator of the reply. The problem started when you try
following the link to the reply. Here follows the
traceback:

<!--
Traceback (innermost last):
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 223, in publish_module
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 187, in publish
  File C:\BensonP\lib\python\Zope\__init__.py, line
221, in zpublisher_exception_hook
    (Object: DynamicType)
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 171, in publish
  File C:\BensonP\lib\python\ZPublisher\mapply.py,
line 160, in mapply
    (Object: index_html)
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 112, in call_object
    (Object: index_html)
  File C:\BensonP\lib\python\App\special_dtml.py, line
127, in __call__
    (Object: index_html)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
    (Object: index_html)
  File C:\BensonP\lib\python\OFS\DTMLMethod.py, line
182, in __call__
    (Object: standard_html_header)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
    (Object: standard_html_header)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
146, in render
    (Object:
isAnon=&quot;portal_membership.isAnonymousUser()&quot;
  uname=&quot;isAnon and 'Guest' or
portal_membership.getAuthenticatedMember().getUserName()&quot;
  obj=&quot;this()&quot;
 
actions=&quot;portal_actions.listFilteredActionsFor(obj)&quot;
  user_actions=&quot;actions['user']&quot;
  lu=&quot;_.len(user_actions)&quot;
  global_actions=&quot;actions['global']&quot;
  lg=&quot;_.len(global_actions)&quot;
  these_actions=&quot;user_actions +
global_actions&quot;
  lt=&quot;_.len(these_actions)&quot;)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_Util.py,
line 334, in eval
    (Object:
portal_actions.listFilteredActionsFor(obj))
    (Info: portal_actions)
  File &lt;string&gt;, line 0, in ?
  File
C:\BensonP\lib\python\Products\CMFCore\ActionsTool.py,
line 162, in listFilteredActionsFor
    (Object: portal_actions)
  File
C:\BensonP\lib\python\Products\CMFCore\WorkflowTool.py,
line 210, in listActions
    (Object: portal_workflow)
  File
C:\BensonP\lib\python\Products\CMFCore\DefaultWorkflow.py,
line 148, in listObjectActions
TypeError: call of non-function (type string)

-->

Also there is a permission problem trying to add the
article as a favorite. It looks like you are not
authorized to access (something about) the article's
owner. Here the traceback that I got:

  You are not authorized to access <em>aem2</em>.
<!--
Traceback (innermost last):
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 223, in publish_module
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 187, in publish
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 171, in publish
  File C:\BensonP\lib\python\ZPublisher\mapply.py,
line 160, in mapply
    (Object: addtoFavorites)
  File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 112, in call_object
    (Object: addtoFavorites)
  File
C:\BensonP\lib\python\Products\CMFCore\FSDTMLMethod.py,
line 218, in __call__
    (Object: addtoFavorites)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
    (Object: addtoFavorites)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
147, in render
    (Object:
homeFolder=&quot;portal_membership.getHomeFolder()&quot;)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
146, in render
    (Object: targetFolder=&quot;_.getattr(homeFolder,
'Favorites')&quot;
                  new_id=&quot;'fav_' +
_.str(_.int(ZopeTime()))&quot;
                
favPath=&quot;favorite[_.len(SERVER_URL):]&quot;
                 
favObj=&quot;restrictedTraverse(favPath)&quot;)
  File
C:\BensonP\lib\python\DocumentTemplate\DT_Util.py,
line 334, in eval
    (Object: restrictedTraverse(favPath))
    (Info: favPath)
  File &lt;string&gt;, line 0, in ?
  File C:\BensonP\lib\python\OFS\Traversable.py, line
223, in restrictedTraverse
    (Object: Traversable)
  File C:\BensonP\lib\python\OFS\Traversable.py, line
199, in unrestrictedTraverse
    (Object: ApplicationDefaultPermissions)
  File
C:\BensonP\lib\python\AccessControl\SecurityManager.py,
line 144, in validate
  File
C:\BensonP\lib\python\AccessControl\ZopeSecurityPolicy.py,
line 225, in validate
Unauthorized: (see above)

-->




=====
---------------------------
Adrian Esteban Madrid
Benson Institute, Webmaster
Brigham Young University
---------------------------
adrian_esteban@madrid.com
===========================

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/