[ 
http://jira.magnolia-cms.com/browse/MGNLGROOVY-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Grilli updated MGNLGROOVY-60:
--------------------------------------

    Priority: Major  (was: Neutral)

> Package name triggering weird bug
> ---------------------------------
>
>                 Key: MGNLGROOVY-60
>                 URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-60
>             Project: Magnolia Groovy Module
>          Issue Type: Bug
>    Affects Versions: 1.2.2, 1.2.3
>         Environment: 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
>            Reporter: Ciny Marcinko
>            Assignee: Federico Grilli
>            Priority: Major
>             Fix For: 1.2.4, 2.0
>
>         Attachments: error.7z
>
>
> 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)

-- 
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: <[email protected]>
----------------------------------------------------------------

Reply via email to