Skip to content

fix: add substance.version check to saveSubstance#698

Merged
iaromoskviak merged 1 commit intodevelopment_3.0from
pfda_g4_fixes
Apr 28, 2026
Merged

fix: add substance.version check to saveSubstance#698
iaromoskviak merged 1 commit intodevelopment_3.0from
pfda_g4_fixes

Conversation

@ChemMitch
Copy link
Copy Markdown
Collaborator

No description provided.

// Always generate a fresh UUID for the draft copy — do NOT mutate the live substance,
// otherwise the save logic will treat a new substance as an existing one (PUT vs POST).
// A new UUID on every save ensures no two drafts share the same UUID.
json.uuid = this.utilsService.newUUID();
@iaromoskviak iaromoskviak merged commit e811c8e into development_3.0 Apr 28, 2026
1 of 6 checks passed
@iaromoskviak iaromoskviak deleted the pfda_g4_fixes branch April 28, 2026 20:37
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.

4 participants