Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

TypeError: unsubscriptable object

by Jens W. Klein last modified Dec 30, 2008 03:08 PM
"Type Error: unsubscriptable object" occurs in an Archetypes based object after pressing the save button of the base_edit form.

The above error occurs in Archetypes and rely on a bad naming of a field in the schema of the archetypes based class.

For example it results in this error:

  • if the name contains spaces, special characters, etc.,
  • if the name is a reserved word (like roles, portal, ...)
  • other naming-conflicts.