[Zope-CMF] Re: CMF 1.5 + Breaking products / Migration from 1.4
David Pratt
fairwinds at eastlink.ca
Wed Mar 23 14:35:27 EST 2005
Hi Yuppie. This is really good advice. Let me ask this since I am
really trying to make the best decision. I need stability in my
production setup so would you risk the 1.5 + or take a step back to 1.5
or even go back to 1.4.8. I want to use the new changes but am torn if
it means the products I work with are flakey. Maybe I have answered my
own question. Maybe 1.5 is the right choice not 1.4.8. What I need
right now is to be able to use metadata with DirectoryView to get
additional properties on the folders, I also want ordered folders
support on my Portal Folders and to gain the benefit of the CMFSetup
utilities. So maybe 1.5 is the place to be. I guess the other factor
is that I don't want my applications to be out of step with the future
and trapped in the 1.4 world (where there will be a large time sink
involved in bringing them up to the current code base). I am certainly
willing to contribute on the wiki to help others as I work through it
myself.
Regards,
David
On Wednesday, March 23, 2005, at 02:17 PM, yuppie wrote:
> Hi David!
>
>
> David Pratt wrote:
>> I have recently upgraded my zope to 2.7.5 and am attempting to work
>> with the HEAD of CMF from CVS. I really want to work with this
>> because the features are really excellent and this is the future -
>> not the 1.4 branch. The trouble I am having is with about 8 or 10
>> products that I use. I was able to get some of my own working again
>> and some others like CMFQuickInstaller that broke mostly due to the
>> change from CMFCore.CMFCorePermissions to CMFCore.permissons but I
>> still have a ways to go. The latest tracebacks on a couple of other
>> Products I am having trouble with. Maybe part of my problem is I
>> should be tracking down CVS versions of some of the products too as
>> opposed to latest releases.
>
> You might get more feedback if you would name the other products as
> well.
>
>> Has anyone heard of whether people are working to have the more
>> widely used products fixed to work in CMF 1.5 + or is the user base
>> just so large on the 1.4 branch that there is likely to be little or
>> no movement until Plone is working on 1.5 (if they move in this
>> direction). If not, I am wondering if some of the patched products
>> that people are fixing to work with 1.5 could be put somewhere (even
>> just temporarily until the Products developers catch up) so others
>> can benefit without all the breakage and/or a list of products
>> compatible with CMF 1.5 put together so people know what is going to
>> happen if they choose to migrate.
>
> Please don't mix up CMF 1.5 and HEAD (CMF-1.5+). CMF 1.5 has a lot of
> backwards compatibility code. The deprecation warnings in CMF 1.5
> include recommendations for updating the code.
>
> http://zopewiki.org/ might be a good place to compile compatibility
> infos.
>
> Bug reports or even patches might help Product developers to catch up.
>
>> CMFFormController:
>> File "/usr/local/zope/instance1/Products/CMFFormController/
>> FSControllerPythonScript.py", line 27, in ?
>> from Products.CMFCore.DirectoryView import registerFileExtension,
>> registerMetaType, expandpath
>> ImportError: cannot import name expandpath
>> Formulator:
>> File "/usr/local/zope/instance1/Products/Formulator/FSForm.py",
>> line 10, in ?
>> from Products.CMFCore.DirectoryView import registerFileExtension,\
>> ImportError: cannot import name expandpath
>
> The CMF 1.5 deprecation warning would give you this hint:
> "expandpath() doesn't belong to DirectoryView anymore and will be
> removed from that module in CMF 1.6. Please import expandpath from
> the utils module."
>
>
> Cheers,
>
> Yuppie
>
More information about the Zope-CMF
mailing list