Grails
  1. Grails
  2. GRAILS-6692

Params in layout contains only controller, action and id.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.5
    • Component/s: View technologies
    • Labels:
      None
    • Environment:
      Ubuntu 9.10, 64 bit, JDK 1.6

      Description

      In grails 1.3.2, I can access all parameters in params in layout (and taglib called from layout).
      However, when upgraded to 1.3.4, when access params in layout, there are only controller, action and id. Params contains complete paameter when access from view.

      Sample:
      URL: http://localhost:8080/app/cnt/act/3?other=Y&this=that

      params in view: [controller: 'app', action: 'act', id: '3', other: 'Y', this: 'that']
      params in layout: [controller: 'app', action: 'act', id: '3']

        Activity

        Hide
        Rainer Brang added a comment -

        It's worse: The params are also incomplete in taglibs.

        Show
        Rainer Brang added a comment - It's worse: The params are also incomplete in taglibs.
        Hide
        Rainer Brang added a comment -

        Does no longer exist in 1.3.5.

        Show
        Rainer Brang added a comment - Does no longer exist in 1.3.5.
        Hide
        Jeffrey Hall added a comment -

        Alas, the bug is back in 1.3.7. GET sends all of the parameters, but POST and PUT only send the action and controller.

        Show
        Jeffrey Hall added a comment - Alas, the bug is back in 1.3.7. GET sends all of the parameters, but POST and PUT only send the action and controller.
        Hide
        Jeffrey Hall added a comment -

        (I believe that this is a duplicate bug of GRAILS-6372)

        Show
        Jeffrey Hall added a comment - (I believe that this is a duplicate bug of GRAILS-6372 )

          People

          • Assignee:
            Unassigned
            Reporter:
            Atsawin Chaowanakritsanakul
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development