You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a simple Book / Author example it seems that the scaffolded 'create new author' view is not rendering a provision for adding a 'book' (created on the spot, or already existing in the system) to the 'hasMany books' association. I'm using Grails 3.1.2 with scaffolding plugin 3.2.1 . Here is my use case:
// Model
class Book {
String title
}
class Author {
String name
static hasMany = [books: Book]
}
// Controllers
class BookController {
static scaffold = Book
}
class AuthorController {
static scaffold = Author
}
I certainly might be missing something but with such a straightforward example I'm wondering if this might be a bug with either the scaffolding plugin, grails, or the interaction between the two...
The text was updated successfully, but these errors were encountered:
KymPohl
changed the title
Selection list apparently not generated for 'hasMany' association
No view support generated for adding 'existing' entity to 'hasMany' association
Mar 12, 2016
KymPohl
changed the title
No view support generated for adding 'existing' entity to 'hasMany' association
No view support apparently generated for adding an entity to a 'hasMany' association
Mar 12, 2016
With a simple Book / Author example it seems that the scaffolded 'create new author' view is not rendering a provision for adding a 'book' (created on the spot, or already existing in the system) to the 'hasMany books' association. I'm using Grails 3.1.2 with scaffolding plugin 3.2.1 . Here is my use case:
// Model
class Book {
String title
}
class Author {
String name
static hasMany = [books: Book]
}
// Controllers
class BookController {
static scaffold = Book
}
class AuthorController {
static scaffold = Author
}
I certainly might be missing something but with such a straightforward example I'm wondering if this might be a bug with either the scaffolding plugin, grails, or the interaction between the two...
The text was updated successfully, but these errors were encountered: