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

Formbased authentication corrupts post params payara #429

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

albfernandez
Copy link

This testcase reproduces Payara bug

payara/Payara#2318

See payara/Payara#2318 for mor details.

I've reproduced the bug in Payara 4.1.2.174, but this first version on
Arquillian works as expected.
@albfernandez
Copy link
Author

The failing test is the expected behaviour: It's the payara bug we're trying to reproduce

Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.829 sec <<< FAILURE! - in org.javaee7.servlet.security.form.based.FormTest
testMaintainPostParamsAfterAuth(org.javaee7.servlet.security.form.based.FormTest) Time elapsed: 0.474 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<[7]> but was:<[251]>
at org.javaee7.servlet.security.form.based.FormTest.testMaintainPostParamsAfterAuth(FormTest.java:108)

@arjantijms
Copy link
Contributor

Looks good, will pull in as soon as we have the fix for Payara in. Thx!

@albfernandez
Copy link
Author

This sample should pass the test now ,
from the pom.xml <payara.version>4.1.2.181</payara.version>, version which fixed de bug

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.

None yet

2 participants