You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The View interface allows getContentType() to return null. But Views returning null can not be handled by ContentNegotiatingViewResolver as it directly pipes the result of the call to getContentType() to MediaType.parseMediaType(..) which rejects null values passed.
Oliver Drotbohm opened SPR-6466 and commented
The
View
interface allowsgetContentType()
to returnnull
. ButView
s returningnull
can not be handled byContentNegotiatingViewResolver
as it directly pipes the result of the call togetContentType()
toMediaType.parseMediaType(..)
which rejectsnull
values passed.Affects: 3.0 RC2
Referenced from: commits 73b54f4
The text was updated successfully, but these errors were encountered: