Skip to content

[Candidate Identifier (Rework Part 9)] Migrate Legacy Candidate Identifiers - #11369

Draft
HachemJ wants to merge 8 commits into
aces:mainfrom
HachemJ:MigrateLegacyCandidateIdentifiers
Draft

HachemJ wants to merge 8 commits into
aces:mainfrom
HachemJ:MigrateLegacyCandidateIdentifiers

Conversation

@HachemJ

@HachemJ HachemJ commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Brief summary of changes

This PR migrates the existing legacy candidate identifier functionality across LORIS to use the new configurable Candidate Identifiers functionality.

Previously, various modules, libraries, APIs and tools relied directly on legacy candidate identifier fields and generators. This PR updates these dependencies to use the new Candidate Identifiers structure while preserving existing functionality and workflows.

Changes

  • Updated the core candidate libraries to use the new Candidate Identifiers functionality.
  • Updated existing modules to retrieve and handle candidate identifiers using the new identifier structure.
  • Updated API endpoints and data provisioners to use the new Candidate Identifiers functionality.
  • Updated SQL queries to retrieve candidate identifiers from the new identifier structure.
  • Updated existing importers, exporters and maintenance tools to support the new candidate identifier structure.
  • Removed obsolete legacy candidate identifier generators.
  • Added a SQL migration patch to migrate existing legacy candidate identifiers.

Testing Instructions

  1. Apply the SQL migration patch and verify that existing candidate identifiers are correctly migrated.
  2. Verify that existing candidates retain their original identifiers and that identifiers remain associated with the correct candidates.
  3. Verify that existing candidates can be retrieved and accessed using their candidate identifiers.
  4. Create a new candidate and verify that candidate identifiers are correctly generated or assigned.
  5. Verify that candidate identifiers are correctly displayed across the affected modules.
  6. Verify that the Candidates API returns the expected candidate identifiers.
  7. Verify that existing importers, exporters and maintenance tools continue to function as expected.
  8. Verify that existing candidate, timepoint, instrument and feedback workflows continue to function as expected.
  9. Verify that existing functionality is preserved following the migration.

@HachemJ HachemJ added the State: Blocked PR or issue awaiting an external event such as the merge or another PR to proceed label Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

State: Blocked PR or issue awaiting an external event such as the merge or another PR to proceed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant