-
Bug
-
Resolution: Unresolved
-
Trivial
-
Tomcat 7, Windows Server 2008 64 bit, Grails 2.0.4, Java 7
Creating a grails war in IntelliJ does not introduce an exception during runtime for domain mapping. Attached are example domains that are causing the issue. When the project is built in Jenkins it seems that it does not take into consideration the static mappedBy field in DomainOne (Attached).
Building with IntelliJ the mappedBy is working properly during runtime.
For starters, you are using invalid syntax for your hasMany map in DomainOne. I'd fix that first and then probably close this bug.