hold17 / cphindustries

App for CPH Industries to manage weapons made for movies.
MIT License
0 stars 1 forks source link

Deleting a weapon in a shoot causes that #136

Open algorythm opened 6 years ago

algorythm commented 6 years ago

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

  1. Go to a scene
  2. Go to a shoot
  3. Choose a weapon
  4. Make sure that the weapon appears in at least 2 shoots in total
  5. 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,

Reproduces how often: 100%

Versions

v1.0.0-alpha.1 and down

Additional Information

Related to #82 and #126