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

Migration assistant fails when using legacy database identifier scheme #252

Open
jane-heller-bkg opened this issue Feb 8, 2023 · 0 comments
Assignees
Labels
Type: Support Issue asking for support under analysis A first analysis is performing

Comments

@jane-heller-bkg
Copy link

Some older deployments of re³gistry that probably origin in an earlier development phase are still using numeral identifiers for some of the database items used to feed the registers. This involves entries in the tables itemclass, localization, reference, register, registry, status. All references to those items in other tables are also affected of course.

Currently the migration assistant for version 2.4.x fails without a clear error message when trying to import such a database (TODO: log that here). One idea to fix the problem, is to change Re3gistry2Migration.MigrateItems s.th. it either can handle these legacy identifiers or to add a functionality to convert an old database scheme to match the current UUID assignment scheme.
A little tricky about that is, that within re³gistry UUIDs are currently derived deterministically from the according records data.

@jane-heller-bkg jane-heller-bkg changed the title Migration assistant fails when using legacy database identificator scheme Migration assistant fails when using legacy database identifier scheme Feb 8, 2023
@oruscalleda oruscalleda added under analysis A first analysis is performing Type: Support Issue asking for support labels Feb 9, 2023
@oruscalleda oruscalleda self-assigned this Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Support Issue asking for support under analysis A first analysis is performing
Projects
None yet
Development

No branches or pull requests

2 participants