Hey all,

When requesting a page on my local server, pages work just fine. But when I 
look at the error log I always get the following error:
[code]2015-12-30 09:40:04,658 WARN  
ia.dam.templating.functions.DamTemplatingFunctions: The following ItemKey '' 
generated exceptions when trying to retrieve the associated Item : ItemKey is 
null or blank.[/code]

Can anyone tell me what the mistake/issue is here?

The way I store images in:
[code]
fields:
              - name: image
                label: Image
                class: 
info.magnolia.ui.form.field.definition.LinkFieldDefinition
                targetWorkspace: dam
                appName: assets
                identifierToPathConverter:
                  class: 
info.magnolia.dam.app.assets.field.translator.AssetCompositeIdKeyTranslator
                contentPreviewDefinition:
                  contentPreviewClass: 
info.magnolia.dam.app.ui.field.DamFilePreviewComponent
[/code]

The way I request images:
[code][#if paymentMethod.image?has_content][#assign imgRef = 
damfn.getAssetLink(paymentMethod.image)!/]
<img src="${imgRef!}" alt="${paymentMethod.title!}" 
title="${paymentMethod.title!}">
[/#if]
[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=12a06b8e-dafc-4371-8d9a-ed498ead1452


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

Reply via email to