[ZCM] [ZC] 924/ 2 Resolve "lines property (and tokens?) stored as list instead of tuple"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Jan 21 14:36:39 EST 2004


Issue #924 Update (Resolve) "lines property (and tokens?) stored as list instead of tuple"
 ** Security Related ** (Public)
 Status Resolved, Zope/bug critical
To followup, visit:
  http://zope.org/Collectors/Zope/924

==============================================================
= Resolve - Entry #2 by Brian on Jan 21, 2004 2:36 pm

 Status: Pending => Resolved

fixed for 2.6.3+ and 2.7.0b4+

-BL
________________________________________
= Request - Entry #1 by Anonymous User on May 28, 2003 7:36 am

Lines should be stored as a tuple since they should be immutable.  All other Zope properties are stored as such (__ac_permissions__, manage_options...), but for some reason, these were not.  The result is as follows.

obj.lines.remove('value') works and can possibly be persisted if anything else (proxied method, etc) causes a _p_change on that object.  Note that this is possible even though the user is not allowed to 'Manage properties'.  

(as a sidenote, I could never understand why lines are initialized to [''] instead of [])
==============================================================




More information about the Zope-Collector-Monitor mailing list