dtolabs / yana2

Yet Another Node Authority ... because you wanted an agile Real-Time Service Model (RTSM)
8 stars 1 forks source link

Error creating a Child Node in GUI #127

Closed ahonor closed 12 years ago

ahonor commented 12 years ago

To reproduce

Error message page:


Error 500: Internal Server Error

URI
    /childNode/save
Class
    java.lang.IllegalArgumentException
Message
    argument type mismatch

Around line 98 of grails-app/controllers/com/dtosolutions/ChildNodeController.groovy

95:    }96: 97:    def save() {98:      Node parent = Node.get(params.parent)99:        Node child = Node.get(params.child)100:     101:        def ntparents = NodeTypeRelationship.findByChild(child.nodetype)

Trace

   Line | Method
->>  98 | save    in ChildNodeController.groovy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
|   908 | run . . in     ''
^   680 | run     in java.lang.Thread