TTW Dexterity CT - Could not adapt plone.dexterity.content.Container to interfaces.IPrimaryFieldInfo

We have a TTW Dexterity content-type which is giving an error about:

TypeError: ('Could not adapt', <plone.dexterity.content.Container
object at 0x7f53b5479c80>, )

I did some searching on this error and found a lead that this could have to do with not having a field defined as the primary field. I looked in the Dexterity Types control panel, but couldn't find a way to designate a primary field. However, we have other CT's built using a similar process and they don't seem to have that issue...

Full traceback looks like this:

Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module plone.z3cform.layout, line 66, in call
Module plone.z3cform.layout, line 50, in update
Module plone.dexterity.browser.add, line 130, in update
Module plone.z3cform.fieldsets.extensible, line 59, in update
Module plone.z3cform.patch, line 30, in GroupForm_update
Module z3c.form.group, line 145, in update
Module plone.app.z3cform.csrf, line 21, in execute
Module z3c.form.action, line 98, in execute
Module z3c.form.button, line 315, in call
Module z3c.form.button, line 170, in call
Module plone.dexterity.browser.add, line 105, in handleAdd
Module z3c.form.form, line 250, in createAndAdd
Module plone.dexterity.browser.add, line 80, in add
Module plone.dexterity.utils, line 179, in addContentToContainer
Module plone.app.content.namechooser, line 34, in chooseName
Module zope.component.hookable, line 33, in call
Module zope.component.hooks, line 104, in adapter_hook
Module plone.app.dexterity.behaviors.filename, line 19, in new
Module zope.component.hookable, line 33, in call
Module zope.component.hooks, line 104, in adapter_hook
Module plone.dexterity.primary, line 25, in init
TypeError: ('Could not adapt', <plone.dexterity.content.Container object at 0x7f53b5479c80>, )

Thanks

So, it looks like this is a result of using the "Name from title" or "Name from file name" behaviors without having the correct primary fields defined to drive the name generation. Seems that can get "Name from title" to work be enableing the "Dublin Core" behavior. I couldn't find a way to get the "Name from file name" behavior to work with a TTW type.

I happen to be testing Diazo also and created a simple content type.

I don't have the dublin core checked and I do have the create from title. Works fine for me.

Don't know what the difference.