-
Notifications
You must be signed in to change notification settings - Fork 21
Description
With upgrade to Tractus-X 23.12 release, we are not able to onboard a new company into Portal as the Registration Service does not supports adding RegionCode/regionPattern for eg. DE-BY codes
According to regionPattern defined as /^[a-zA-Z0-9,"\s()']*$/ we can add Region as DEBY or DE BY or empty value, etc but it eventually results in failure at BPN Generation, since this region code is not defined/accepted in the BPDM Pool regions.
Thus, a new company onboarding results in failure.
Current Behavior
With Portal 1.7.0 release (Registration: 1.5.4) it is not possible to add region code in format like DE-BY.
Instead, we can pass/store the region code as: “DEBY” or “DE BY” .
And that’s what is causing the issue while Generating the BPN in the BPDM Pool.
Since we have passed the region code as: “DEBY” or “DE BY”, the BPDM fails to create a Legal Entity in BPDM Pool, with following error:
And if we pass empty region code, we get below error:
For region as Berlin:
The BPDM release 3.1.2, now has region codes as:
Expected Behavior
Registration form should accept region DE-BY as valid entry and pass the same to Portal-backend (/api/registration/application/{application_id}/companyDetailsWithAddress)
It would be nice if we modify the regex as valid regionPattern to something like ^[a-zA-Z0-9,-"\s()']*$ which will allow region code with example like DE-BY
Tractus-x release: 23.12
Portal: 1.7.0
BPDM: 3.1.2
Metadata
Metadata
Assignees
Labels
Type
Projects
Status


