Il 16.06.2011 09:23, Matteo Pelucco ha scritto:
Hi all,
the second issue we had after migrating to 4.4.4 from 4.1 is related to
imaging module. All images generated by imaging are not rendered anymore.
SOLVED!
What generates that is a not-matching site name.
In Website we had:
/home
/home_en
In STK/site definitions we had
/supsi (with mapping to website /home)
/supsi_en (with mapping to website /home_en)
We solved renaming STK site definition name from "supsi" to "home".
The reason:
In
info.magnolia.module.extendedtemplatingkit.imaging.generationSTKParameter.java
the method getImageVariation() generated a NPE, because site is not
found if not named as root page.
public ImageOperationProvidingVariation getImageVariation() {
final Site site = SiteManager.Factory.getInstance().getSite(siteName);
// site is not found!!
final ETKImagingSupport imaging =
(ETKImagingSupport)site.getTheme().getImaging();
return (ImageOperationProvidingVariation)
imaging.getVariations().get(variationName);
}
Sorry for spamming the list, but maybe this can help somebody else.
Have all a nice day!
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------