![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.0.2 |
|
Assignee:
|
Federico Grilli
|
|
Created:
|
06/Aug/13 6:04 PM
|
|
Description:
|
As reported on the Community forum http://forum.magnolia-cms.com/forum/thread.html?threadId=43af0bbb-5872-465f-8ba8-e6a03893b97a
Reproduce:
1. Create ClassA in groovy and select enabled:
package our;
public class ClassA {
public ClassA(){
}
public String getString(){
return "my string";
}
}
2. Press save
3. Create ClassB and select enabled:
package our;
public class ClassB {
public ClassB(){
}
public String getString(){
return new ClassA().getString();
}
}
4. Press save
5. Error message occurs: "our.ClassB should declare at least one class named ClassB"
Workaround:
6. Select is a script.
7. Deselect enabled.
8. Save
9. Reopen
10. Deselect is a script.
11. Select enabled.
12. Save
|
|
Fix Versions:
|
2.1 |
|
Project:
|
Magnolia Groovy Module
|
|
Priority:
|
Major
|
|
Reporter:
|
Federico Grilli
|
|
Security Level:
|
Public |
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]>
----------------------------------------------------------------