Hello,

We're currently investigating a problem with images on our websites. We haven't 
really been able to discover what the exact problem is yet, but digging in the 
code did bring up the following:

STKUtil.getAssetLink(Content content, String nodeDataPrefix, String 
variationName) calls
  STKUtil.getAsset(Content content, String nodeDataPrefix, String 
variationName) which calls
    DAMUtil.getAsset(Content content, String nodeDataName) which calls
      DAMSupport.getAsset(Content node, String nodeDataPrefix) which calls
        NodeDataUtil.getString(Content node, String name)

This looks weird to me. Note how nodeDataPrefix and nodeDataName are being 
interchanged as if they are the same thing. It all results in a call to 
NodeDataUtil.getString(Content node, String name), which doesn't treat name as 
some kind of prefix, but just checks for that exact name, doesn't find it and 
returns an empty string.

Resolving the handlerName on the first line of DAMSupport.getAsset(Content 
node, String nodeDataPrefix) like that looks strange to me. Can someone tell me 
if this is a bug? If so, is it a known issue?

This is using Magnolia EE 4.4.3 and STK 1.4.3.

Nils Breunese.
------------------------------------------------------------------------
 VPRO   www.vpro.nl
------------------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to