Resteasy configuration defined in application.properties
is ignored since the 3.0 version
#38279
Labels
Milestone
application.properties
is ignored since the 3.0 version
#38279
Describe the bug
Given a quarkus project (version 2.x) with resteasy and servlet features, defining a PATCH endpoint:
with resteasy patchfilter disabled in
application.properties
invoking the endpoint yields the expected results:
But after upgrading quarkus to 3.0
The
resteasy.patchfilter.disabled=true
property is no longer respected and invoking the endpoint results in the following errorExpected behavior
resteasy.patchfilter.disabled=true
should be respectedActual behavior
resteasy.patchfilter.disabled=true
is ignored and the default patch filter from resteasy overlays the method from the project.How to Reproduce?
mvn quarkus:dev
curl -X PATCH http://localhost:8080/hello -H 'Content-Type: application/merge-patch+json'
to see that everything works correctly for quarkus 2.16.12.Finalquarkus update --stream=3.0
to upgrade the project to quarkus 3.0mvn quarkus:dev
andcurl -X PATCH http://localhost:8080/hello -H 'Content-Type: application/merge-patch+json'
again to see that now the exception appearsOutput of
uname -a
orver
MINGW64_NT-10.0-22621 RDLP 3.3.6-341.x86_64 2022-09-05 20:28 UTC x86_64 Msys
Output of
java -version
openjdk version "11.0.18" 2023-01-17 LTS OpenJDK Runtime Environment Microsoft-7208460 (build 11.0.18+10-LTS) OpenJDK 64-Bit Server VM Microsoft-7208460 (build 11.0.18+10-LTS, mixed mode)
Quarkus version or git rev
3.0.4.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.0
Additional information
No response
The text was updated successfully, but these errors were encountered: