[ http://jira.magnolia.info/browse/MAGNOLIA-1978?page=all ]

Philipp Bracher updated MAGNOLIA-1978:
--------------------------------------

    Fix Version/s: 3.5.3

> uuidLinkType does not function properly - returns no results
> ------------------------------------------------------------
>
>                 Key: MAGNOLIA-1978
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1978
>             Project: Magnolia
>          Issue Type: Bug
>          Components: taglibs
>    Affects Versions: 3.5.2
>            Reporter: Ryan Gardner
>         Assigned To: Boris Kraft
>             Fix For: 3.5.3
>
>         Attachments: fix_Outjava.patch
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> In Out.java, there is an error where the uuidLink is pulled from the cms:out 
> attribute "uuid" instead of from the value of the node. The handle one was 
> set up correctly - but the others were not. 
> To test this out - you can set up a simple paragraph that has this in its 
> content: 
> <strong>absolute:</strong><cms:out nodeDataName="northeast" 
> uuidToLink="absolute"/><br/> <!-- should output an absolute link -->
> <strong>relative:</strong><cms:out nodeDataName="northeast" 
> uuidToLink="relative"/><br/>     <!-- should output a relative link -->
> <strong>handle:</strong><cms:out nodeDataName="northeast" 
> uuidToLink="handle"/><br/>      <!-- should output a handle -->
> <strong>none:</strong><cms:out nodeDataName="northeast" 
> uuidToLink="none"/><br/>             <!-- should output the uuid -->
> and make a dialog where you have "northeast" defined by controlType 
> "uuidLink" 
> The above page will render with blanks for the values in the current code, 
> and that's because of an error in the code. The fix is to have it use the 
> value of the node as the UUID to build the link - not the uuid attribute of 
> the tag.
> I have attached a patch that applies this fix. It works properly on my 
> system. In the patch, I also added more documentation to the Out.java code to 
> help explain the existing logic that is in the code.
> With this fix, the above output works the way it is expected. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to