SOLVED
In case anyone else ever runs into a similar problem the solution was a
missing "default=[]" in the schema.
What I had was:
    # use an autocomplete selection widget instead of the default content
tree
    form.widget(managers=AutocompleteMultiFieldWidget)
    managers = schema.List(
            title=_(u"Engagement Manager(s)"),
            value_type=schema.Choice(
                vocabulary=u"plone.principalsource.Users"),
            required=False,
        )

What I needed was:
    # use an autocomplete selection widget instead of the default content
tree
    form.widget(managers=AutocompleteMultiFieldWidget)
    managers = schema.List(
            title=_(u"Engagement Manager(s)"),
            default=[],
            value_type=schema.Choice(
                vocabulary=u"plone.principalsource.Users"),
            required=False,
        )
 
       
-- 
View this message in context: 
http://plone.293351.n2.nabble.com/Problem-testing-local-roles-with-a-Dexterity-content-type-tp5715377p5735888.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to