-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grails 2.5.0: Reloading of enums fails #703
Comments
I tried to reproduce this by creating an enum and rendering a enum value, then changing the enum and rendering the newly added value and I received no such exception, if you want any progress on this issue you will need to upload an example to github with steps to reproduce |
Hi Graeme, I'm able to reproduce it using the following:
|
I followed your steps and I cannot reproduce with the master branch, maybe it has already been fixed by another commit |
I can give it another shot when 2.5.1 comes out. I should note that I'm running Grails 2.5.0 on Mac OS X 10.10.3 and Groovy/Grails Tool Suite Version: 3.6.4.RELEASE. |
If I'm running a Grails application and I change an enum it wont reload it. I will have to shut down the app and run-app again to fix it.
Please fix.
Line | Method
->> 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 617 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run . . . in java.lang.Thread
Caused by GrailsConfigurationException: Cannot add Domain class [class y.enums.x]. It is not a Domain!
->> 745 | run in java.lang.Thread
The text was updated successfully, but these errors were encountered: