jamesfredley commented on PR #15252:
URL: https://github.com/apache/grails-core/pull/15252#issuecomment-3578590150

   I have run into this issue and worked around it by adding `namespace=''` to 
the tags and am in favor of fixing it via this PR.
   
   Given the generated application `UrlMappings.groovy` includes the 
placeholder for constraints, I think we should put it on both. 
   
   ```
          "/$namespace/$controller/$action?/$id?(.$format)?" {
               constraints {
                   // apply constraints here
               }
           }
   
           "/$controller/$action?/$id?(.$format)?" {
               constraints {
                   // apply constraints here
               }
           }
   ```
   
   I believe the same issue exists for the following in addition to <g:link>.  
Currently the URL will not include the namespace unless explicitly added to the 
tag.  This can be a separate PR.  
   
   ```
   <g:form namespace="administration" ... >
   <f:table namespace="administration" .. >
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to