Grails

Strange behaviour with nested includes in main layout and failed validation

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.1, 1.1.1, 1.2-M1, 1.2-M2
  • Fix Version/s: None
  • Component/s: View technologies
  • Labels:
    None

Description

I tried to use two nested includes in main.gsp. When I try to create a new domain and validation failes then instead of showing the includes the content of the create.gsp is shown.

Attached a sampe app that reproduces the problem. Just call PersonController and try to create a new person with blank name.

Issue Links

Activity

Hide
Graeme Rocher added a comment -

can confirm whether this is a regression in 1.2 M2 or whether it worked for you in previous versions

Show
Graeme Rocher added a comment - can confirm whether this is a regression in 1.2 M2 or whether it worked for you in previous versions
Hide
Markus Mueller added a comment -

Seems this has never worked. Just tried it with Grails 1.1 with same result unfortunately

Show
Markus Mueller added a comment - Seems this has never worked. Just tried it with Grails 1.1 with same result unfortunately
Hide
Markus Mueller added a comment -

Just found out it is sufficient to have "one" include in main.gsp to reproduce the behaviour.

Show
Markus Mueller added a comment - Just found out it is sufficient to have "one" include in main.gsp to reproduce the behaviour.
Hide
Graeme Rocher added a comment -

There is no scope / time to resolve these remaining lower priority issues for 1.2 so moving to 1.3

for 1.2 final only issues considered blocking will now be fixed

Show
Graeme Rocher added a comment - There is no scope / time to resolve these remaining lower priority issues for 1.2 so moving to 1.3 for 1.2 final only issues considered blocking will now be fixed

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Last Reviewed: