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

Bug: Material belongs to old camp after copying #7080

Open
LFanonym opened this issue Mar 21, 2025 · 2 comments
Open

Bug: Material belongs to old camp after copying #7080

LFanonym opened this issue Mar 21, 2025 · 2 comments

Comments

@LFanonym
Copy link

When copying from an old Camp all the Material loses the binding to the materialLists. If you try to manually set it again a error apears:

materialList: must belong to the same camp.

Only workaround I know is to manually recreate the old materialList

IMG-20250321-WA0000.jpg

IMG-20250321-WA0001.jpg

@BacLuc
Copy link
Contributor

BacLuc commented Mar 22, 2025

Ui ui ui. Thank you for the bug report.
I can confirm this behavior.

@pmattmann
Copy link
Member

The simplest solution would be the following:

If an activity is copied across camps, the materials are not copied.

Reason:
There is no guarantee that the material lists from the source-camp also exist in the target-camp.

Alternative:
We allow the material list to be 'empty' after copying - so the entries can then be added to a list.
However, I would still prohibit deleting the material list on an material-entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants