Grails

On a controller integration test, calling render with a GSP on a base controller results in Cannot set readonly property: modelAndView

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2 final
  • Fix Version/s: 1.2.1
  • Component/s: Testing
  • Labels:
    None
  • Testcase included:
    yes

Description

See attached sample app; just run the integration tests. The problem appears because render() is called on a method in the superclass.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: