-
Notifications
You must be signed in to change notification settings - Fork 14
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
Legal Names | Length Changes and Special Characters | Portal Registration Frontend | Portal Backend #360
Legal Names | Length Changes and Special Characters | Portal Registration Frontend | Portal Backend #360
Comments
Extended pattern with additional currency characters and length adjustment. Testing added. Refs: eclipse-tractusx/portal#360
…-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
…-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
…-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
…-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
…-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
…-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
…-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
BPDM Compatibility: BPDM allows up to 250 characters for company names and is unicode compatible. Characters for Polish or Chinese for example are therefore also allowed. I don't see any issue with this change regarding BPDM compatibility. |
* feat(legal entity): extended legal entity length Extended pattern with additional currency characters and length adjustment. Testing added. Refs: eclipse-tractusx/portal#360
…-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
* 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]>
@MaximilianHauer There is a way to simplify REGEX via unicode scripts. \p{Letter} covers all letters in any language for example. See unicode scripts. This would require our frontends to compile at least ES6 since support from then on. (compilerOptions still targets es5) CC: @ybidois |
From my pov okay. Support of ES6 is quite good globally (roughly 1 percent less than ES5) and enterprise users are more likely to run an up-to-date browser: https://caniuse.com/?search=es6 vs. https://caniuse.com/?search=es5 |
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
* 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]>
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
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
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
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
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
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
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
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
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
Description
We have some limitations to company REGEX that prevents onboarding of some customers.
1. Special Language Characters (Pending decision)
Currently the REGEX for legal company names is very restrictive. Special characters for some languages like German or French is allowed (e.g. üäöáè).
Other languages are not considered:
Options:
Additional Information
For 1. companies need translated legal name to onboard their company.
Options 2. & 3. have some additional technical risks since some components (bpdm/clearing house) might not support special characters of this type.
2. Company Name Length (Required change for us)
There are companies with very long company names. We could find suppliers/partners in BPDM pool with up to 160 characters (more can happen but is unrealistic).
Now: 2-50 characters (currently counting white spaces)
Expected: 1-160
Additional Information
UI risk:
Compatibility risk ???
Acceptance Criteria
Additional Information
I have code ready for both changes with test cases. Waiting for decision on special character topic before creating PRs.
@jjeroch @evegufy
Usage of UNICODE scripts for extended REGEX like /p{L} requires minimum compile target of EC6
cc: @oyo
The text was updated successfully, but these errors were encountered: