Red Hat Bugzilla – Bug 114311
No way for generic assets to augment the XML adapter rules for all content types
Last modified: 2007-04-18 13:02:13 EDT
Description of problem:
Each content type is reponsible for registering domain object XML
renderer rules for itself. There are, however, a number of genral
purpose assets such as dublin core, file attachments and related links
which need to augment the rules for all content types in the CMS.
Obviously the contnet type rules themselves can't reference these
assets, since the is no way to know in advance if an asset will be
installed on the system.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
If got code ready for checkin which gets around this limitation as
Insteead of registering instances of
SimpleDomainObjectTraversalAdapter, we create a subclass
ContentItemTraversalAdapter. This class contains a static registry of
property names -> assets. It then overrides the process method in the
traversal adapter such that if the path requested maps to an asset,
then control is delegated to the asset's own traversal adapter,
otherwise control goes to the super class implementation.
Submitted in p4 39749 & 39751
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.
Closing old tickets