Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAYARA-4000 A REST management DELETE command returns 415 code instead of 404 #31

Merged
merged 5 commits into from
Aug 16, 2019
Merged

PAYARA-4000 A REST management DELETE command returns 415 code instead of 404 #31

merged 5 commits into from
Aug 16, 2019

Conversation

AlanRoth
Copy link

No description provided.

@AlanRoth AlanRoth requested a review from MattGill98 August 15, 2019 13:07
Copy link

@MattGill98 MattGill98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seem to have jumped from p3-SNAPSHOT -> p5 -> p5-SNAPSHOT, whereas the correct order should be p3-SNAPSHOT -> p3 -> p4-SNAPSHOT

@AlanRoth AlanRoth requested a review from MattGill98 August 16, 2019 08:09
Alan added 2 commits August 16, 2019 09:57
PAYARA-4000 A REST management DELETE command returns 415 code instead of 404
@AlanRoth AlanRoth changed the title A REST management DELETE command returns 415 code instead of 404 PAYARA-4000 A REST management DELETE command returns 415 code instead of 404 Aug 16, 2019
Copy link

@MattGill98 MattGill98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My fault, but I've just checked and the tests sem to fail:

WARNING: Entity must be null for http method DELETE.
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.075 s <<< FAILURE! - in org.glassfish.jersey.client.JerseyInvocationTest
[ERROR] overrideHttpMethodBasedComplianceCheckTest(org.glassfish.jersey.client.JerseyInvocationTest)  Time elapsed: 0.011 s  <<< FAILURE!
java.lang.AssertionError: ProcessingException expected.
	at org.glassfish.jersey.client.JerseyInvocationTest.overrideHttpMethodBasedComplianceCheckTest(JerseyInvocationTest.java:117)

This seems related to the fix. Is this a test that needs fixing or a genuine failure?

@MattGill98 MattGill98 merged commit d6d1972 into payara:jersey-2.29.payara-maintenance Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants