[MGNLGROOVY-19] At least one class declared in a groovy source (that is a script name in repo) file should match source file name Created: 04/Mar/10  Updated: 25/Nov/13  Resolved: 15/Mar/10

Status: Closed
Project: Magnolia Groovy Module
Component/s: integration
Affects Version/s: 1.0
Fix Version/s: 1.0

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

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   

Failing to do this check before saving the script in magnolia repo can easily lead to weird, confusing behaviors where either the wrong class is loaded or changes to it never trigger a reloading of the modified class in the classloader.


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