The GitHub Actions job "Licensing - RAT Report" on 
grails-core.git/feat/mime-types-defaults has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
22d08cadaf34ed47ca2977620c08374f670e32d2 / Scott Murphy Heiberg 
<[email protected]>
Keep 'all' first in app1 mergeDefaults demo to preserve the default format

The mergeDefaults demo declared only the custom 'vnd' type, which made 'vnd'
the first configured MIME type. For a request without an Accept header the
response format resolves from the first configured type, so this shifted
app1's default from html to vnd and broke BookControllerSpec (a respond-based
controller unit test) and the SiteMesh 2 functional run.

Declare 'all' first alongside 'vnd' so 'all' remains the default negotiated
format, matching app1's previous behavior. The demo is unchanged in intent:
json/xml/html and the other defaults are still undeclared and supplied via
mergeDefaults, which the ContentNegotiationSpec verifies.

Report URL: https://github.com/apache/grails-core/actions/runs/28121841877

With regards,
GitHub Actions via GitBox

Reply via email to