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
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
| Field | Original Value | New Value |
|---|---|---|
| Attachment | FaceAndNose-bug-report-22052009.zip [ 42142 ] |
| Fix Version/s | 1.1.2 [ 15289 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Fix Version/s | 1.2 [ 14155 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
| Workflow | jira [ 29312 ] | Grails [ 42386 ] |
| Workflow | Grails [ 42386 ] | Copy of Grails [ 49839 ] |
| Workflow | Copy of Grails [ 49839 ] | Grails [ 57249 ] |
| Workflow | Grails [ 57249 ] | Grails2 [ 64827 ] |
| Workflow | Grails2 [ 64827 ] | jira [ 78745 ] |
| Workflow | jira [ 78745 ] | Grails2 [ 80507 ] |
| Workflow | Grails2 [ 80507 ] | jira [ 88398 ] |
| Workflow | jira [ 88398 ] | Grails2 [ 96611 ] |