bito-code-review[bot] commented on PR #16281: URL: https://github.com/apache/grails-core/pull/16281#issuecomment-5484884149
<!-- Bito Reply --> The error occurs because `GrailsParameterMap` is designed to hold `String` keys and `Object` values, but it enforces strict type handling for its internal map structure. When you attempt to assign an integer directly to `params.identifier`, the underlying map implementation or the `GrailsParameterMap` wrapper likely expects a compatible type or has specific validation logic that rejects non-string keys or specific value types depending on the context. To resolve this, ensure the identifier is converted to a `String` before assignment, such as `params.identifier = '123'`. -- 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]
