Closed ahonor closed 12 years ago
http://localhost:8080/nodeTypeRelationship/save
/nodeTypeRelationship/save Class groovy.lang.MissingMethodException Message No signature of method: org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap.toLong() is applicable for argument types: () values: [] Possible solutions: long(java.lang.String), long(java.lang.String, java.lang.Long), getLong(java.lang.String), getLong(java.lang.String, java.lang.Long), clone(), clone() Around line 29 of grails-app/controllers/com/dtosolutions/NodeTypeRelationshipController.groovy 26: 27: def save() { 28: def cardinality = ['0','1','2','3','4','5','6','7','8','9','10','*'] 29: def parent = NodeType.get(params.parent.toLong()) 30: def child = NodeType.get(params.child.toLong()) 31: def exists= NodeTypeRelationship.findByParentAndChild(parent,child) 32:
Verified.
http://localhost:8080/nodeTypeRelationship/save
/nodeTypeRelationship/save Class groovy.lang.MissingMethodException Message No signature of method: org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap.toLong() is applicable for argument types: () values: [] Possible solutions: long(java.lang.String), long(java.lang.String, java.lang.Long), getLong(java.lang.String), getLong(java.lang.String, java.lang.Long), clone(), clone() Around line 29 of grails-app/controllers/com/dtosolutions/NodeTypeRelationshipController.groovy 26: 27: def save() { 28: def cardinality = ['0','1','2','3','4','5','6','7','8','9','10','*'] 29: def parent = NodeType.get(params.parent.toLong()) 30: def child = NodeType.get(params.child.toLong()) 31: def exists= NodeTypeRelationship.findByParentAndChild(parent,child) 32: