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

XWIKI-16986: No incorrect message appears when adding a wrong Captcha #3054

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

surli
Copy link
Member

@surli surli commented Apr 11, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-16986

Changes

Description

  • Rely on the actual RegisterAction when using the standard Registration page
  • Fix issue with the redirect parameter in RegisterAction which causes it to always redirect, even in case of error
  • Refactor Registration page to immediately display an error

Honestly I'm not entirely sure about those changes, in particular about possible regressions with custom fields...

Clarifications

Screenshots & Video

Executed Tests

Ran mvn clean install -Dit.test=RegisterIT on administration module and mvn clean install -Pquality on oldcore module.
Now we're probably missing integration tests with captcha.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • No

  * Rely on the actual RegisterAction when using the standard
    Registration page
  * Fix issue with the redirect parameter in RegisterAction which causes
    it to always redirect, even in case of error
  * Refactor Registration page to immediately display an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant