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/name parts persist #312

Merged
merged 5 commits into from
Jun 30, 2023

Conversation

alexsilva-CGI
Copy link
Contributor

@alexsilva-CGI alexsilva-CGI commented Jun 27, 2023


Title: Persistence of Name Parts


Description

This PR adds an table to be able to persist the Name Parts in Legal Entities, Addresses and Sites. On Sites and Logistic Addresses the name column was also removed. Respective mapping was done also.

Related issues: fix #271


Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

  • DEPENDENCIES are up to date. Dash license tool. Committers can open IP issues for restricted libs.
  • Copyright and license header are present on all affected files

@alexsilva-CGI alexsilva-CGI force-pushed the fix/name_parts_persist branch from 0513cb7 to 9457d49 Compare June 27, 2023 15:42
@alexsilva-CGI alexsilva-CGI marked this pull request as ready for review June 28, 2023 08:16
Copy link
Contributor

@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.

Logic and structure for name parts looks good. But we lose the current names of the business partners. Please migrate the currently existing business partner names so that they appear as the first entry of the name parts array.

Also, please delete the legalName from the LegalEntity as well. The Legal Entity should only have nameparts and the legalShortName.

Copy link
Contributor

@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.

I receive an error during database migration. The inserted name parts during migration do not have an ID (nor timestamps).

Also I didn't see that the Legal Entity names are migrated to name parts

Copy link
Contributor

@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.

Migration works just needs to resolve the conflicts and we are good to go

@alexsilva-CGI alexsilva-CGI force-pushed the fix/name_parts_persist branch from c9ad31c to 012a40b Compare June 30, 2023 12:55
@nicoprow nicoprow merged commit 6292cd3 into eclipse-tractusx:main Jun 30, 2023
@nicoprow nicoprow deleted the fix/name_parts_persist branch June 30, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gate: Persist Name Parts
2 participants