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

fix: remove logic that sets bpn before validation #253

Conversation

JordanGerada3
Copy link
Contributor

@JordanGerada3 JordanGerada3 commented Sep 13, 2024

Description

  • Removed prop from input field that was setting the BPNL on the form without being firstly validated

Why

When a user would insert an invalid BPNL in the autofill field, the BPNL was updating in the form despite being invalid, leading to the possibility of the user submitting the application with an incorrect BPNL.

Issue

#252

Checklist

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have checked that new and existing tests pass locally with my changes

Copy link
Contributor

@typecastcloud typecastcloud left a comment

Choose a reason for hiding this comment

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

Looks good. Unintended behavior by the copy paste mess I made when adding onBlur logic. Thanks for the find!

Please update DEPENDENCIES file.
See artifact here: https://github.com/eclipse-tractusx/portal-frontend-registration/actions/runs/10845856689

@JordanGerada3
Copy link
Contributor Author

Looks good. Unintended behavior by the copy paste mess I made when adding onBlur logic. Thanks for the find!

Please update DEPENDENCIES file. See artifact here: https://github.com/eclipse-tractusx/portal-frontend-registration/actions/runs/10845856689

DEPENDENCIES updated!

Copy link
Contributor

@shubhamv-ss shubhamv-ss left a comment

Choose a reason for hiding this comment

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

lgtm

@JordanGerada3 JordanGerada3 requested a review from evegufy October 1, 2024 11:14
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link

sonarqubecloud bot commented Oct 9, 2024

@JordanGerada3 JordanGerada3 requested a review from evegufy October 9, 2024 14:51
Copy link
Contributor

@evegufy evegufy left a comment

Choose a reason for hiding this comment

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

lgtm, thank you @JordanGerada3

Copy link
Contributor

@evegufy evegufy left a comment

Choose a reason for hiding this comment

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

sorry, didn't see it earlier, could you please still update the DEPENDENCIES file again?

@JordanGerada3
Copy link
Contributor Author

sorry, didn't see it earlier, could you please still update the DEPENDENCIES file again?

@evegufy it seems that the failure happened before the artefact generation, therefore I have nothing to update the dependencies with. I also haven't introduced any new dependencies in my PR. Do you know how to solve this?

@evegufy
Copy link
Contributor

evegufy commented Oct 21, 2024

@JordanGerada3 sorry for the wait. We'll update the dependencies with another PR as this change doesn't include update to dependencies.

@evegufy evegufy merged commit 992e973 into eclipse-tractusx:main Oct 21, 2024
7 checks passed
@JordanGerada3 JordanGerada3 deleted the fix/252-user-still-able-to-register-with-non-existent-bpn branch October 21, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

5 participants