Juan Lago Cabrera wrote:
> I have two questions about CPS3.4 beta 1 (with Zope 2.9.0 and Python 2.4.2):
> 
> 1)       Now acl_users is a CPSUserFolder by default. I noticed that
> nested groups is not implemented yet (getComputedGroups). Which is the
> roadmap to this functionality?
> 

Exact ! This is not yet plan AFAIK. Can you enter a bug report about
this please ? (it will speed up the implementation <wink>)

> 2)       My zope instance has debug-mode on, and I get the following
> deprecation and user Warnings, are they correct? It will disappear in
> CPS 3.4 final?
> 
> 
> /opt/zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning:
> Using OFS.content_types is deprecated (will be removed in Zope 2.11).
> Instead use zope.app.contenttypes.

This is an internal Zope deprecation. This should disappear with the
next Zope-2.9 version.

> 
>   from OFS.content_types import guess_content_type
> 
> 2006-02-01 11:44:39 INFO ZServer HTTP server started at Wed Feb  1
> 11:44:39 2006
> 
>         Hostname: 0.0.0.0
> 
>         Port: 8081
> 
> 2006-02-01 11:44:40 INFO Zope Set effective user to "zope"
> 
> 2006-02-01 11:44:43 INFO CPSCompat Patching for Zope/CMF forward
> compatibility
> 
> 2006-02-01 11:44:43 INFO PatchCMFCore.utils CPSCore Patch
> mergedLocalRoles to use aclu
> 
> 2006-02-01 11:44:43 INFO PatchCMFCore.UndoTool CPSCore Patch _actions to
> remove undo action
> 
> 2006-02-01 11:44:46 INFO Epoz is not installed EpozPatch can't be applied
> 
> 2006-02-01 11:44:50 INFO CPSUserFolder Faking Products.NuxUserGroups
> 
> /opt/zope-2.9.0/instances/zope1/Products/FCKeditor/__init__.py:7:
> DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is
> a deprecated compatiblity alias for 'Products.CMFCore.permissions'; 
> please use the new module instead.
> 
>   from Products.CMFCore.CMFCorePermissions import View
> 

This is from a third party product : FCKEditor. We could make it
disappear but we would need to create a vendor branch. It's more painful
than anything else.

> 2006-02-01 11:44:51 WARNING OFS.Application Duplicate Product name
> 
> After loading Product 'Five' from
> '/opt/zope-2.9.0/instances/zope1/Products',
> 
> I skipped the one in '/opt/zope-2.9.0/lib/python/Products'.
> 

This one is normal. We can't remove it as Five is defined both in
Zope-2.9 itself and in Products because we are using a more recent version.

>  
> 
> /opt/zope-2.9.0/instances/zope1/Products/CMFQuickInstallerTool/__init__.py:34:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated
> and will be ignored in CMF 2.0: QuickInstallerTool
> 
>   icon='tool.gif'
> 

CMFQuickInstaller won't be within the 3.4 release since we switched to a
generic setup based installer. So warning will disappear.

> /opt/zope-2.9.0/instances/zope1/Products/CMFonFive/__init__.py:21:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated
> and will be ignored in CMF 2.0: CMFonFive
> 
>   , icon='tool.gif'
> 
> /opt/zope-2.9.0/lib/python/OFS/Application.py:836: DeprecationWarning:
> __init__.py of Products.ExternalEditor has a long deprecated 'methods'
> attribute. 'methods' will be ignored by install_product in Zope 2.10.
> Please use registerClass instead.
> 
>   DeprecationWarning)
> 

Same as FCKEditor.

> /opt/zope-2.9.0/lib/python/OFS/Application.py:836: DeprecationWarning:
> __init__.py of Products.FCKeditor has a long deprecated 'methods'
> attribute. 'methods' will be ignored by install_product in Zope 2.10.
> Please use registerClass instead.
> 
>   DeprecationWarning)
> 

zope internal deprecation.

> /opt/zope-2.9.0/lib/python/zope/configuration/fields.py:417:
> UserWarning: You did not specify an i18n translation domain for the
> 'title' field in
> /opt/zope-2.9.0/instances/zope1/Products/CMFonFive/configure.zcml
> 
>   warnings.warn(
> 
> /opt/zope-2.9.0/lib/python/zope/configuration/fields.py:417:
> UserWarning: You did not specify an i18n translation domain for the
> 'title' field in
> /opt/zope-2.9.0/instances/zope1/Products/CPSMailAccess/permissions.zcml
> 
>   warnings.warn(
> 
> /opt/zope-2.9.0/instances/zope1/Products/CalZope/browser/interfaces.py:25:
> DeprecationWarning: MessageIDFactory: Mutable i18n messages ("message
> ids") have been deprecated in favour of immutable ones and will be
> removed in Zope 3.3.  Please use use zope.i18nmessageid.MessageFactory
> instead.
> 
>   from zope.i18nmessageid import MessageIDFactory
> 
> /opt/zope-2.9.0/lib/python/zope/configuration/fields.py:417:
> UserWarning: You did not specify an i18n translation domain for the
> 'label' field in
> /opt/zope-2.9.0/instances/zope1/Products/CalZope/browser/configure.zcml
> 
>   warnings.warn(
> 
> /opt/zope-2.9.0/lib/python/zope/configuration/fields.py:417:
> UserWarning: You did not specify an i18n translation domain for the
> 'label' field in
> /opt/zope-2.9.0/instances/zope1/Products/CPSSharedCalendar/overrides.zcml
> 
>   warnings.warn(
> 
> 2006-02-01 11:44:58 INFO Zope Ready to handle requests
> 
>  

CPSMailAccess and CPSSharedCalendar deprecation warnings should
disappear with the 3.4 final.

Regards,

        J.


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to