collective / collective/sc.contentrules.groupbydate

Disallowed subobject types (bug)

Open
#10 2 comments 0 reactions 1 assignee Claimed by @ericof View on GitHub
bug
Dominant language
Python
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Sometimes, in portal_types, was necessary uncheck the "Filter content types?", set rule on the folder and select the filter again.

In portal_setup show the same error when I export all steps.

Log error:

Exception Value Disallowed subobject type: Document

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 zope.formlib.form, line 795, in __call__
Module sc.contentrules.groupbydate.actions.groupbydate, line 231, in update
Module zope.formlib.form, line 891, in setUpWidgets
Module zope.formlib.form, line 310, in setUpInputWidgets
Module zope.schema._field, line 291, in bind
Module Zope2.App.schema, line 33, in get
Module sc.contentrules.groupbydate.vocabulary, line 108, in __call__
Module Products.CMFCore.PortalFolder, line 293, in invokeFactory
```

ValueError: Disallowed subobject type: Document

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.