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(company data): extend legal entity pattern to support all language #250

Merged

Conversation

typecastcloud
Copy link
Contributor

@typecastcloud typecastcloud commented Aug 28, 2024

Description

The legal entity pattern now supports and uses letter and currency unicode categories.

  • Add support of unicode categories via /u option.
  • This required update of ecma script to version 6.

Why

International support requires a lot of different languages. Evaluating and reviewing REGEX by using ranges is very hard.

Issue

Refs: eclipse-tractusx/portal#360
Dep: eclipse-tractusx/portal-backend#1043

Checklist

  • 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

ss-nikunj

This comment was marked as duplicate.

@ss-nikunj
Copy link

Hi @typecastcloud, Change log entry is missing.

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.

Looks good!

typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this pull request Sep 19, 2024
The Company validation expression in the ValidationExpressions class has been updated to support a wider range of characters, including special characters and non-Latin alphabets. This change ensures that the validation accurately captures company names from different languages and regions.

Fixes: eclipse-tractusx/portal#360
Refs: eclipse-tractusx/portal-frontend-registration#250
@typecastcloud typecastcloud force-pushed the feat/allow-all-language-characters branch from 940f5f6 to f38d187 Compare September 27, 2024 09:53
@typecastcloud typecastcloud marked this pull request as ready for review September 27, 2024 09:53
typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this pull request Sep 27, 2024
The Company validation expression in the ValidationExpressions class has been updated to support a wider range of characters, including special characters and non-Latin alphabets. This change ensures that the validation accurately captures company names from different languages and regions.

Fixes: eclipse-tractusx/portal#360
Refs: eclipse-tractusx/portal-frontend-registration#250
@ybidois
Copy link

ybidois commented Oct 7, 2024

@MaximilianHauer can you please prioritize this, please? This will make sure we don't run into errors when registering some of our existing customers during the Jupiter Go Live.

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.

@oyo could you please review?

@MaximilianHauer
Copy link

fine for me @oyo's turn ;)

typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this pull request Oct 11, 2024
The Company validation expression in the ValidationExpressions class has been updated to support a wider range of characters, including special characters and non-Latin alphabets. This change ensures that the validation accurately captures company names from different languages and regions.

Fixes: eclipse-tractusx/portal#360
Refs: eclipse-tractusx/portal-frontend-registration#250
ntruchsess pushed a commit to eclipse-tractusx/portal-backend that referenced this pull request Oct 14, 2024
The Company validation expression in the ValidationExpressions class has been updated to support a wider range of characters, including special characters and non-Latin alphabets. This change ensures that the validation accurately captures company names from different languages and regions.

Fixes: eclipse-tractusx/portal#360
Refs: eclipse-tractusx/portal-frontend-registration#250

* Adjust changelog
* Add remarks to Company regex
* Update packages
oyo

This comment was marked as outdated.

Copy link
Contributor

@oyo oyo left a comment

Choose a reason for hiding this comment

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

@typecastcloud content approved but setting to request changes until merge conflicts resolved

The legal entity pattern now supports and uses letter and currency unicode categories. This required update of ecma script to version 6.

Refs: eclipse-tractusx/portal#360
@typecastcloud typecastcloud force-pushed the feat/allow-all-language-characters branch from 842c0e4 to 21dc7ef Compare October 22, 2024 09:16
@typecastcloud typecastcloud requested a review from oyo October 22, 2024 09:19
@typecastcloud
Copy link
Contributor Author

typecastcloud commented Oct 22, 2024

@typecastcloud content approved but setting to request changes until merge conflicts resolved

Hi @oyo, I rebased and updated dependencies. Thanks!

Copy link

@oyo oyo merged commit 47d02c4 into eclipse-tractusx:main Oct 22, 2024
8 checks passed
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.

7 participants