[Zope-CMF] List of null strings in Subject

Tres Seaver tseaver@zope.com
Tue, 09 Oct 2001 07:22:12 -0400


Loren Stafford wrote:

> I just changed the CMF Metadata Subject configuration to show both a
> suggested vocabulary and allow subjects not in the suggested vocabulary.
> This results in the display of a textarea of type Lines. After updating
> Metadata where no items are entered into the textarea (because the subject
> is selected from the suggested vocabulary), the resource receives as one of
> its Subjects a value of [''], which shows up in the textarea thus:
> 
>         <textarea name="subject:lines" rows="3"
>                cols="20">['']
>         </textarea><br>
> 
> Update Meadata one more time and you get:
> 
>         <textarea name="subject:lines" rows="3"
>                cols="20">["['']", '']
>        </textarea><br>
> 
> This is a familiar problem to anyone who has worked with Lines textareas in
> Zope, and most of us have developed workarounds. I think CMF needs to
> include a workaround too.
> 
> Should I submit this as a bug report?


Please do:

   http://www.zope.org/Products/PTK/Tracker

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com