Chyba #3
nestedSetGetChildren() throws exception
| Status: | Uzavřený | Start: | 08/02/2010 | |
| Priority: | Normální | Due date: | ||
| Assigned to: | - | %% Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
Description
I've tried running NestedSet 0.3 and 0.2 with Grails 1.3.2 (Hibernate 3.3.1GA).
Adding children to a node worked, but getChildren() caused an exception because
it didn't have a sufficent number of parameters.
I tracked the issue and it turned out positional parameters (setId,objectId)
weren't getting inserted. Temporarily I've inserted them directly as ${setId}
and ${objectId} and everything works fine, although it's far from being safe.
History
Updated by Roman Mackovčák about 1 year ago
Hi, the owner of the plugin is busy. He will investigate asap.
Updated by Petr Mourek about 1 year ago
Konrad Brodzik wrote:'
I've tried running NestedSet 0.3 and 0.2 with Grails 1.3.2 (Hibernate 3.3.1GA). Adding children to a node worked, but getChildren() caused an exception because it didn't have a sufficent number of parameters.
There is a bug http://jira.codehaus.org/browse/GRAILS-6419 in Grails 1.3.2.
I have tested the NestedSet plugin with Grails 1.3.3 and it works OK (1.3.1, 1.2.x, 1.1.x and 1.0.3+ also OK).