When deleting a weapon a weapon in a shoot, that occurs in other shoots as well, the weapon gets deleted in all other shoots. This is due to the fact that the relation as well as the weapon itself gets deleted entirely when deleting weapons.
Steps to Reproduce
Go to a scene
Go to a shoot
Choose a weapon
Make sure that the weapon appears in at least 2 shoots in total
In the edit shoot view, swipe to delete the chosen weapon
Expected behavior: The weapon should be removed from the chosen shoot and that shoot only. In other words: the weapon should still appear in the other shoot that it appeared in before.
Actual behaviour: The weapon is now deleted entirely from the system,
Description
When deleting a weapon a weapon in a shoot, that occurs in other shoots as well, the weapon gets deleted in all other shoots. This is due to the fact that the relation as well as the weapon itself gets deleted entirely when deleting weapons.
Steps to Reproduce
Expected behavior: The weapon should be removed from the chosen shoot and that shoot only. In other words: the weapon should still appear in the other shoot that it appeared in before.
Actual behaviour: The weapon is now deleted entirely from the system,
Reproduces how often: 100%
Versions
v1.0.0-alpha.1 and down
Additional Information
Related to #82 and #126