Comment 11 for bug 448780

Revision history for this message
Dieter Maurer (d.maurer) wrote :

> I guess the best way to improve the documentation would be if you summarize what you have learned from this discussion.

My summary: Do not trust "INode" adapters. If the adapter only provides "INode" (and not "IBody") it is likely to faithfully serialize the object. If, however, it also provides "IBody", it is likely that its "node" serializes only an empty hull (without content or additional information such as properties) and expects that the missing parts are taken care of separately by the remaining "IBody" infrastructure in a separate step. An essential example of this behaviour is the default "INode" adapter for "Folder" (and friends): its "node" just specifies the folder's id and meta type, the folder's content is only serialized by "body".