[ZCM] [ZC] 2267/ 1 Request "recordMetaData and Five integration might cause obscure error"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]>
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #2267 Update (Request) "recordMetaData and Five integration might cause obscure error"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2267

==============================================================
= Request - Entry #1 by dreamcatcher on Jan 15, 2007 3:04 pm

In Zope2/app/startup.py, the recordMetaData method looks at object.__name__ and appends that to the 'to_append' tuple.

If the published object is a Five view, __name__ might be None, which will cause a "TypeError: sequence item 4: expected string, NoneType"

I believe that if __name__ is None it should skip that object and pass keep following the aq_chain.
==============================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.