[MGNLGROOVY-113] ClassNotFoundException when trying to use a Groovy class in config tree Created: 24/Mar/14  Updated: 05/May/14  Resolved: 28/Mar/14

Status: Closed
Project: Magnolia Groovy Module
Component/s: integration
Affects Version/s: 2.2.3
Fix Version/s: 2.2.4, 2.3

Type: Bug Priority: Critical
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2014-03-21 at 15.03.26.png     PNG File Screen Shot 2014-03-21 at 15.06.31.png    
Issue Links:
Cloners
is cloned by MGNLGROOVY-114 CLONE - ClassNotFoundException when t... Closed
relation
is related to MAGNOLIA-5726 Use IoC to set a custom ClassFactory Open
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The issue was reported by Teresa. See also attached screenshots. Trying to swap a Java class with a Groovy one throws a CNFE. The reason is that, starting from version 2.2 GroovyClassFactory is no longer replacing the DefaultClassFactory due to a misconfiguration in the module descriptor. In brief, we should keep using the legacy properties tag to such purpose until MAGNOLIA-5726 is fixed.


Generated at Mon Feb 12 05:55:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.