zcml inclusions and typo
This commit is contained in:
parent
c8a56be140
commit
85136abcc7
|
@ -15,7 +15,10 @@
|
|||
<include package="plone.app.dexterity" />
|
||||
<include package="plone.app.relationfield" />
|
||||
<include package="collective.z3cform.chosen" />
|
||||
<include package="collective.z3cform.rolefield" />
|
||||
<include package='plone.formwidget.datetime' />
|
||||
<include package="plone.directives.form" file="meta.zcml" />
|
||||
<include package="plone.directives.form" />
|
||||
|
||||
<include package=".browser" />
|
||||
<include package=".content" />
|
||||
|
|
|
@ -108,7 +108,7 @@ def set_reader_on_versions(context, event):
|
|||
responsible = context.responsible[0]
|
||||
enquirer = context.enquirer[0]
|
||||
container_path = '/'.join(context.getParentNode().getPhysicalPath())
|
||||
query = {'path': {'query' : container_path},
|
||||
query = {'path': {'query': container_path},
|
||||
'portal_type': 'dmsmainfile',
|
||||
'Creator': responsible}
|
||||
catalog = api.portal.get_tool('portal_catalog')
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<include file="configure.zcml" />
|
||||
|
||||
<include package="ecreall.helpers.testing" />
|
||||
<include package="plone.app.async" file="single_db_worker.zcml" />
|
||||
|
||||
<genericsetup:registerProfile
|
||||
name="testing"
|
||||
|
|
Reference in New Issue