[Zope-Coders] Re: [ZC] 327/ 2 Comment "Folder Titles Removable"
brian.r.brinegar.1
brinegar@purdue.edu
Mon, 1 Apr 2002 14:45:36 -0500 (EST)
If the title property is removed it cannot be recreated because of the
title attribute of SimpleItem.
-Brian
On Mon, 1 Apr 2002, Collector: Zope Bugs and Patches ... wrote:
> Issue #327 Update (Comment) "Folder Titles Removable"
> Status Pending, Zope/bug+solution medium
> To followup, visit:
> http://collector.zope.org/Zope/327
>
> ==============================================================
> = Comment - Entry #2 by ajung on Apr 1, 2002 2:03 pm
>
> Why shouldn't people be allowed to remove the title property?
> -aj
> ________________________________________
> = Request - Entry #1 by Anonymous User on Apr 1, 2002 11:33 am
>
> The property map for the OFS.Folder looks something like this:
>
> _properties=({'id':'title', 'type': 'string'},)
>
> The 'mode' is not set which lets people remove the title property.
>
> The 'mode' should be set to 'w' so that 'title' cannot be removed.
>
> _properties=({'id':'title', 'type':'string', 'mode':'w'},)
>
> ==============================================================
>
>