luizfiliperm opened a new pull request, #15284:
URL: https://github.com/apache/grails-core/pull/15284

   This PR addresses the issue reported in  
[#15281](https://github.com/apache/grails-core/issues/15281).
   
   Starting from **Grails 3.x**, the framework switched to using `HashMap` when 
assembling the controller result model.  
   Because `HashMap` does not guarantee insertion order, Maps returned by 
controllers may reach interceptors and filters with their fields in a different 
order than the one originally defined.  
   This behavior has continued unchanged up to the current releases.
   
   This PR updates the implementation of `UrlMappingsInfoHandlerAdapter` to use 
`LinkedHashMap`, restoring deterministic ordering consistent with Grails 2.
   
   Only the relevant code path was modified, and no additional behavior was 
affected.
   


-- 
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