Grails
  1. Grails
  2. GRAILS-6715

Shared constraints not working in URL mappings

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.4
    • Fix Version/s: None
    • Component/s: Configuration, URL mappings
    • Labels:
      None
    • Environment:
      Mac OSX 10.6.4

      Description

      The shared constraints declared in config.groovy do not work in UrlMappings.groovy, however no error is thrown, they just wont be applied. It would be great to be able to use them, since there are many situations where you would want similar url patterns mapped to different actions (i.e. "subdomain/isoCode/XY","subdomain/isoCode/XX" same constraint for subdomain, isoCode), using the same constraints for the url.

        Activity

        Hide
        James Lang added a comment -

        yes, please get this into the RC, will DRY out mappings considerably

        Show
        James Lang added a comment - yes, please get this into the RC, will DRY out mappings considerably
        Hide
        Jeff Scott Brown added a comment -

        I anticipate this will be in place for RC1.

        Show
        Jeff Scott Brown added a comment - I anticipate this will be in place for RC1.

          People

          • Assignee:
            Jeff Scott Brown
            Reporter:
            Alexander Herwix
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development