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

feat(legal entity): extended legal entity length #860

Merged

Conversation

typecastcloud
Copy link
Contributor

@typecastcloud typecastcloud commented Jul 23, 2024

Description

BE adjustment for: portal-frontend-registration:216

Extended pattern with additional currency characters and length adjustment.

Min length: 1
Max lenth: 160

Allows " (double quote \x22) to follow back-end implementation.
Allows £$€¥¢ to allow some additional currency symbols that are used in existing companies.

Why

Much longer company names exist than currently allowed.

Example:
https://find-and-update.company-information.service.gov.uk/company/03249311
88 characters

Issue

Refs: eclipse-tractusx/portal#360

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 added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

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.

@typecastcloud thank you for the contribution!
2.1.0 is closed for feature changes, could you please rebase to main?

@typecastcloud typecastcloud changed the base branch from release/v2.1.0-RC2 to main July 24, 2024 09:42
@typecastcloud typecastcloud marked this pull request as ready for review July 25, 2024 08:25
Copy link
Member

@Phil91 Phil91 left a comment

Choose a reason for hiding this comment

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

Besides my nuget package comment no further changes are required in my opinion.

@dhiren-singh-007
Copy link
Contributor

dhiren-singh-007 commented Jul 26, 2024

Besides my nuget package comment no further changes are required in my opinion.

Thanks @Phil91 for your review and suggestions.
I also think that it is good to change exception message with the new approach so I have changed the code accordingly.
Also i updated the packages by using script , please review it again.

@evegufy
Copy link
Contributor

evegufy commented Aug 5, 2024

Hi @dhiren-singh-007 @Phil91 pre-checks for nuget packages are failing https://github.com/eclipse-tractusx/portal-backend/actions/runs/10199854820/job/28336547514?pr=860

@dhiren-singh-007
Copy link
Contributor

Hi @dhiren-singh-007 @Phil91 pre-checks for nuget packages are failing https://github.com/eclipse-tractusx/portal-backend/actions/runs/10199854820/job/28336547514?pr=860

Thanks @evegufy , i rebased the main and updated the packages. Now its running fine

Phil91
Phil91 previously approved these changes Aug 6, 2024
@MaximilianHauer MaximilianHauer added the priority PR needs to prioritized at review label Aug 12, 2024
@ybidois
Copy link

ybidois commented Aug 12, 2024

@MaximilianHauer thanks for setting this with higher priority! We really need it. Is it possible to approve it before Thursday?

Phil91
Phil91 previously approved these changes Aug 13, 2024
Copy link
Member

@Phil91 Phil91 left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks for changing the error handling to the new translatable method 👍

@MaximilianHauer MaximilianHauer added this to the Release 2.2.0 milestone Aug 13, 2024
@MaximilianHauer
Copy link

@evegufy will review today . @nicoprow please provide feedback if this is fine from BPDM perspective.

@dhiren-singh-007
Copy link
Contributor

Thanks @ntruchsess for your review and suggestions . I applied the suggestions . Can you please re-review

Copy link

sonarcloud bot commented Aug 13, 2024

Copy link

@nicoprow nicoprow left a comment

Choose a reason for hiding this comment

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

The changes are compatible to the BPDM API as far as I can tell. Refer to here for more details.

@MaximilianHauer
Copy link

@ntruchsess / @evegufy you can proceed as soon as your findings are solved.

@ntruchsess ntruchsess dismissed evegufy’s stale review August 14, 2024 07:29

PR has been rebased on main, commit-history looks fine

@ntruchsess
Copy link
Contributor

ntruchsess commented Aug 14, 2024

@dhiren-singh-007 @evegufy technically the PR is fine, but there is an issue with ECA-check, can you please check https://api.eclipse.org/git/eca/status/gh/eclipse-tractusx/portal-backend/860

@evegufy
Copy link
Contributor

evegufy commented Aug 14, 2024

@dhiren-singh-007 @evegufy technically the PR is fine, but there is an issue with ECA-check, can you please check https://api.eclipse.org/git/eca/status/gh/eclipse-tractusx/portal-backend/860

see https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4897

@evegufy evegufy modified the milestones: Release 2.2.0, Release 24.12 Aug 14, 2024
@dhiren-singh-007
Copy link
Contributor

Thanks @evegufy and @ntruchsess . Now ECA check is passed

@evegufy evegufy merged commit 4c39a2f into eclipse-tractusx:main Aug 14, 2024
11 checks passed
Phil91 added a commit to AnuragNagpure/portal-backend that referenced this pull request Sep 6, 2024
* feat(company names): Increase company name length to align with front-end

Length increase is required for many companies. There are also companies with special characters at the start. Back-end was already misaligned with frontend-registration.

Refs: eclipse-tractusx/portal#360

---------

Co-authored-by: Dhirender Singh <[email protected]>
Co-authored-by: Dhirender Singh (Cofinity-X) <[email protected]>
Co-authored-by: Phil Schneider <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority PR needs to prioritized at review
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

8 participants