Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
1.2.2, 1.2.3
-
None
-
None
-
FreeBSD 8.2-RELEASE with
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b25)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
and
Windows 8 consumer preview 64bit with current version of the oracle 64bit java6 jdk
both were default magnolia 4.5.4 (previously 4.5.3) installations
FreeBSD 8.2-RELEASE with openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b25) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) and Windows 8 consumer preview 64bit with current version of the oracle 64bit java6 jdk both were default magnolia 4.5.4 (previously 4.5.3) installations
Description
I'm trying to create a modelClass for our website. I have created the necessary template and dialog definitions and the groovy modelClass. The class is enabled. When I try to run it fails with the error message
Error while rendering [/DEV_PLAYGROUND/category_search/untitled0/content/0] with template [standard-templating-kit:components/yornet/stkYornetTeaser]: RenderException: info.magnolia.rendering.engine.RenderException: Can't instantiate model: class yornet.yornetTeaserModel
after extensive testing I tried creating exactly the same class just in a different package - I created a package called "our", copied the original yornetTeaserModel, modified the necessary parts of the model script and template definition and suddenly everything works fine. I deleted the old "yornet" tree and recreated it from scratch (to make sure it wasn't some glitch in the repository) and the error message returned . I tried it on two different magnolia installations and was able to reproduce this bug on both of them.
(full stack trace and sources in the attachment)