Skip to content

Prevent unsupported MVFK XML overrides#6793

Merged
labkey-klum merged 4 commits intodevelopfrom
fb_issue_51695
Jun 26, 2025
Merged

Prevent unsupported MVFK XML overrides#6793
labkey-klum merged 4 commits intodevelopfrom
fb_issue_51695

Conversation

@labkey-klum
Copy link
Contributor

Rationale

related issue : https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=51695

A user could previously get into a bad state by editing the table metadata and using a MVFK type that wasn't supported. If that occurred, a user wouldn't be able to fix the query because we were throwing during table FK construction. This PR adds validation to the save action to prevent construction of an invalid FK. This also downgrades the previous exception to a warning to allow corrections to existing metadata.

Related Pull Requests

LabKey/testAutomation#2514

@labkey-klum labkey-klum merged commit 0e73c00 into develop Jun 26, 2025
9 checks passed
@labkey-klum labkey-klum deleted the fb_issue_51695 branch June 26, 2025 19:51
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.

2 participants