flaithbheartaigh / dynamic-delivery-4-tridion

Automatically exported from code.google.com/p/dynamic-delivery-4-tridion
Other
0 stars 0 forks source link

Component linked multimedia items don't render correct in Java version #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Reproduction:
1. Make a component link to a multimedia item in the RTF
2. In the Java Models, this link comes out without anchors

The publishing code (BinaryPublisher) adds a "src" attribute to the anchor to 
indicate it has a fixed url, but the xslt from the resolver ignores it and 
tries to resolve the componentlink using its tcm id. Because this doesn't work 
out, the link disappears.

Requested fix: Update XSLT files to detect the src attribute in anchor tags and 
don't linkresolve in that case.

Original issue reported on code.google.com by rogier.oudshoorn on 6 Jun 2014 at 6:23