Skip to content

minhajkk/grails-command-object-bug

Repository files navigation

grails-command-object-bug

This repo is created for bug reported on Grails Jira @ GRAILS-11691

| Running 2 unit tests... 1 of 2
--Output from test command object with uppercase field--
| Failure:  test command object with uppercase field(command.demo.ExampleControllerSpec)
|  java.lang.IllegalArgumentException: Can not set java.lang.String field command.demo.ExampleCommand1.OrderID to java.lang.Class
	at command.demo.ExampleCommand1._clinit__closure1(ExampleCommand1.groovy:19)
	at command.demo.ExampleControllerSpec.test command object with uppercase field(ExampleControllerSpec.groovy:15)
Can not set java.lang.String field command.demo.ExampleCommand1.OrderID to java.lang.Class
java.lang.IllegalArgumentException: Can not set java.lang.String field command.demo.ExampleCommand1.OrderID to java.lang.Class
	at command.demo.ExampleCommand1._clinit__closure1(ExampleCommand1.groovy:19)
	at command.demo.ExampleControllerSpec.test command object with uppercase field(ExampleControllerSpec.groovy:15)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published