Skip to content

fix duplicate key error when duplicating module with files attached#2836

Open
cathal-maverick wants to merge 1 commit into
area17:3.xfrom
cathal-maverick:fix/2835
Open

fix duplicate key error when duplicating module with files attached#2836
cathal-maverick wants to merge 1 commit into
area17:3.xfrom
cathal-maverick:fix/2835

Conversation

@cathal-maverick

Copy link
Copy Markdown

Description

Sets the ID of the duplicated file attachments to null to allow it to be set correctly to the current auto-increment value on insert to the DB.

Related Issues

Fixes #2835

@CLAassistant

CLAassistant commented May 12, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

Duplication fails on modules with files

2 participants