[Archetypes-users] Attribute error when viewing history of extended schema

1 view
Skip to first unread message

prb75

unread,
Dec 16, 2010, 5:18:24 PM12/16/10
to archetyp...@lists.sourceforge.net

I have the Working Copy add-on installed in Plone 3.3. I have added a custom
field to the ATDocument type using archetypes schemaextender. When I check
out content and make a change, the view changes link /@@iterate_diff throws
an attribute error looking for my custom field. The field key is None

I have followed this example verbatim:
http://pypi.python.org/pypi/archetypes.schemaextender

Is there something else I need to add beyond the doc to make this work? Why
would my field show up when I edit a document but not be in the list of
fields when I try to view changes of a checked out piece of content?

Maybe this is a big in the iterate product?
I'm hoping some knows a way to ensure that a field added by extension is
always there in the schemata.


--
View this message in context: http://plone.293351.n2.nabble.com/Attribute-error-when-viewing-history-of-extended-schema-tp5843739p5843739.html
Sent from the Archetypes mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Archetypes-users mailing list
Archetyp...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users

prb75

unread,
Dec 16, 2010, 5:34:57 PM12/16/10
to archetyp...@lists.sourceforge.net

To be more specific, It's not that the field doesn't show up, it's that there
is no default 'get' method. It's reference field. Is there a way to add a
default getter method for the new field?


--
View this message in context: http://plone.293351.n2.nabble.com/Attribute-error-when-viewing-history-of-extended-schema-tp5843739p5843792.html

Reply all
Reply to author
Forward
0 new messages