Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.1.1
-
Component/s: Persistence
-
Labels:None
-
Environment:OSX JDK 1.6
Description
quite simply,
class Party {
String type
static constraints =
{ tablePerHierarchy false }}
class Person extends Party {
NameInfo name
static embedded = ['name']
}
class Organization extends Party {
String name
String taxId
}
class NameInfo {
String firstName
String lastName
}
instantiating an Organization and saving it causes no problems. Instantiating a Person and trying to save it causes the following exception to occur:
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingPropertyException: No such property: save for class: Person
at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
Caused by: groovy.lang.MissingPropertyException: No such property: save for class: Person
at TestController$_closure10.doCall(TestController.groovy:215)
at TestController$_closure10.doCall(TestController.groovy)
... 2 more
Why? Was working previously off a 1.1.1 snapshot. But upgrade to 1.1.1 killed the code.
Thanks,
Chris
-
Hide
- FaceAndNose-bug-report-22052009.zip
- 22/May/09 9:38 AM
- 16 kB
- Arnold Franz
-
- grails-app/conf/BootStrap.groovy 0.1 kB
- grails-app/conf/Config.groovy 3 kB
- grails-app/conf/DataSource.groovy 0.6 kB
- grails-app/conf/UrlMappings.groovy 0.2 kB
- grails-app/conf/spring/resources.groovy 0.0 kB
- grails-app/.../NoseExpenderController.groovy 0.3 kB
- grails-app/domain/Face.groovy 0.1 kB
- grails-app/domain/Nose.groovy 0.1 kB
- grails-app/i18n/messages.properties 3 kB
- grails-app/i18n/messages_de.properties 3 kB
- grails-app/i18n/messages_es.properties 3 kB
- grails-app/i18n/messages_fr.properties 2 kB
- grails-app/i18n/messages_it.properties 2 kB
- grails-app/i18n/messages_ja.properties 2 kB
- grails-app/i18n/messages_nl.properties 3 kB
- grails-app/.../messages_pt_BR.properties 3 kB
- grails-app/i18n/messages_ru.properties 4 kB
- grails-app/i18n/messages_th.properties 5 kB
- grails-app/.../messages_zh_CN.properties 2 kB
- grails-app/views/error.gsp 2 kB
- grails-app/views/index.gsp 0.4 kB
- grails-app/views/layouts/main.gsp 0.7 kB
- grails-app/views/.../changeNose.gsp 0.2 kB
- grails-app/views/noseExpender/index.gsp 0.4 kB
- test/unit/FaceTests.groovy 0.2 kB
- test/.../NoseExpenderControllerTests.groovy 0.2 kB
- test/unit/NoseTests.groovy 0.2 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits