Re: [Zope-CMF] .props, .properties, .metadata

2005-07-20 Thread Jens Vagelpohl


On 20 Jul 2005, at 19:21, Florent Guillaume wrote:

The checkin message by Jens says:
  CMFCore.FSPropertiesObject: Added a deprecation warning to  
announce the

  fact that .properties files will disappear in CMF 1.7 and should be
  replaced with CMFCore.FSMetadata (.metadata) files.
(http://svn.zope.org/branches/CMF-1_5-branch/CMFCore/ 
FSPropertiesObject.py?rev=36843&r1=36461&r2=36843)


So am I right in thinking that the warning was added in the wrong  
place?


Yes, you're right. My bad. All fixed now.

jens

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] .props, .properties, .metadata

2005-07-20 Thread Florent Guillaume

When you launch CMF unit tests, you get among others:

CMFCore/FSPropertiesObject.py:95: DeprecationWarning: FSProperties  
objects will disappear in CMF 1.7 - Use FSMetadata objects instead.


But FSPropertiesObject control the '.props' extension, that is used  
to create folders with many ad-hoc properties, like we still do for  
stylesheet_properties.props. This is not deprecated to my knowledge.


I'd say the warning should instead be in FSMetadata.py, in  
_old_readProperties, when we deal with '.properties' files, that  
indeed are obsoleted by '.metadata' files.


The checkin message by Jens says:
  CMFCore.FSPropertiesObject: Added a deprecation warning to  
announce the

  fact that .properties files will disappear in CMF 1.7 and should be
  replaced with CMFCore.FSMetadata (.metadata) files.
(http://svn.zope.org/branches/CMF-1_5-branch/CMFCore/ 
FSPropertiesObject.py?rev=36843&r1=36461&r2=36843)


So am I right in thinking that the warning was added in the wrong place?

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]


___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests