TypeError: unsubscriptable object
This Error Reference applies to:
Any version.
This Error Reference is intended for:
Any audience.
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.
Applies to duplicates as well
Looking back at the issue makes it look silly... It's always the same :)
other explanation
variable = self.getMightyList(), (where getMightyList() returns a list) already returns a tuple.