[Product-Developers] location field on Dexterity based content types

Wichert Akkerman wichert at wiggy.net
Fri Aug 5 07:22:00 UTC 2011


On 08/05/2011 12:02 AM, David Glick wrote:
> On 8/4/11 2:56 PM, Héctor Velarde wrote:
>> in Archetypes location is declared in ExtensibleMetadata.py as:
>>
>>           # Location, also known as Coverage in the DC metadata 
>> standard,
>> but we
>>           # keep the term Location here for historical reasons.
>>           StringField(
>>               'location',
>>               # why no accessor? http://dev.plone.org/plone/ticket/6424
>>               searchable=True,
>>               widget = StringWidget(
>>                   label = _(u'label_location', default=u'Location'),
>>                   description=_(u'help_location_dc',
>>                                 default=u'The geographical location
>> associated with the item, if applicable.'),
>>                   ),
>>           ),
>>
>> why this was not included in the standard IDublinCore behavior?
>>
> I honestly can't remember; it was probably an oversight. Do you think 
> it's important to add it?

My guess would be because almost nobody uses the field. Personally I'ld 
rather have it removed (and especially its catalog index).

Wichert.



More information about the Product-Developers mailing list