Zope Content Management Framework (CMF)

BadRequest: The property i18n_domain does not exist

Reported by Héctor Velarde on 2012-02-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope CMF
Undecided
Tres Seaver

Bug Description

I need to include translation on indexes and metadata included in my package, so I have a portal_atct.xml file like the one attached.

when installing my package I get:

2012-02-23 16:39:49 ERROR Zope.SiteErrorLog 1330022389.930.14678133885 http://localhost:8080/Plone/portal_quickinstaller/installProducts
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 575, in installProducts
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 512, in installProduct
   - __traceback_info__: ('collective.nitf',)
  Module Products.GenericSetup.tool, line 325, in runAllImportStepsFromProfile
   - __traceback_info__: profile-collective.nitf:default
  Module Products.GenericSetup.tool, line 1086, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1000, in _doRunImportStep
   - __traceback_info__: atcttool
  Module Products.ATContentTypes.exportimport.atcttool, line 153, in importATCTTool
  Module Products.GenericSetup.utils, line 831, in importObjects
   - __traceback_info__: portal_atct
  Module Products.GenericSetup.utils, line 507, in _importBody
  Module Products.ATContentTypes.exportimport.atcttool, line 42, in _importNode
  Module Products.GenericSetup.utils, line 713, in _initProperties
  Module OFS.PropertyManager, line 205, in _updateProperty
BadRequest: The property i18n_domain does not exist

because of the i18n domain declaration:

<atcttool xmlns:i18n="http://xml.zope.org/namespaces/i18n"
   i18n:domain="plone">

I think this is a bug.

versions used:

Plone 4.1.4 (4113)
CMF 2.2.5
Zope 2.13.12
Python 2.6.6 (r266:84292, Mar 25 2011, 19:36:32) [GCC 4.5.2]

Tres Seaver (tseaver) wrote :

Your file is invalid: it needs to declare the namespace (the inline
sample does declare it, but the attached file does not).

Changed in zope-cmf:
assignee: nobody → Tres Seaver (tseaver)
status: New → Incomplete

sorry, I don't know what I was drinking the other day; here you are ;-)

BTW, the first attachment was fine, see the source of the file and not only what your browser displays :-)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers