[ http://jira.magnolia-cms.com/browse/MGNLMIGRATION-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wolf bubenik updated MGNLMIGRATION-153: --------------------------------------- Description: We get an exception when reading assets from the media repository: {noformat} 12-10-22 17:30:59 WARN AUTHOR[http-8001-2]info.magnolia.module.templatingkit.functions.STKTemplatingFunctions: Failed to get asset with exception: No handler found with name [media] for [/generation-m/teaser/de/1-size/teaser/gm_logo/content/singleton/freeContent/image] info.magnolia.module.templatingkit.dam.DAMException: No handler found with name [media] for [/generation-m/teaser/de/1-size/teaser/gm_logo/content/singleton/freeContent/image] at info.magnolia.module.templatingkit.dam.DAMSupport.getAsset(DAMSupport.java:86) at info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.getAsset(STKTemplatingFunctions.java:428) {noformat} As I understand this the problem is, that {code} moduleProvider.get() {code} in STKTemplatingFunctions returns the STK-module. We declared the media-handler in our migros site, not in the stk site. As a workaround we copied the configuration of the media asset handler to the stk-module as well but the magnolia API should resolve the dam handlers from the current site. was: We get an exception when reading assets from the media repository: {noformat} > Access of assets from media repository: No handler found with name [media] > -------------------------------------------------------------------------- > > Key: MGNLMIGRATION-153 > URL: http://jira.magnolia-cms.com/browse/MGNLMIGRATION-153 > Project: Magnolia Migration > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Migros project > Reporter: wolf bubenik > Assignee: Jozef Chocholacek > Priority: Major > > We get an exception when reading assets from the media repository: > {noformat} > 12-10-22 17:30:59 WARN > AUTHOR[http-8001-2]info.magnolia.module.templatingkit.functions.STKTemplatingFunctions: > Failed to get asset with exception: No handler found with name [media] for > [/generation-m/teaser/de/1-size/teaser/gm_logo/content/singleton/freeContent/image] > info.magnolia.module.templatingkit.dam.DAMException: No handler found with > name [media] for > [/generation-m/teaser/de/1-size/teaser/gm_logo/content/singleton/freeContent/image] > at > info.magnolia.module.templatingkit.dam.DAMSupport.getAsset(DAMSupport.java:86) > at > info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.getAsset(STKTemplatingFunctions.java:428) > {noformat} > As I understand this the problem is, that > {code} > moduleProvider.get() > {code} > in STKTemplatingFunctions returns the STK-module. We declared the > media-handler in our migros site, not in the stk site. > As a workaround we copied the configuration of the media asset handler to the > stk-module as well but the magnolia API should resolve the dam handlers from > the current site. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- 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: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------