massif-press / cc-lcp-editor

A tool for producing Lancer Content Packages for use with COMP/CON
9 stars 9 forks source link

When License Level field is left as default upon creation, item becomes undeletable in the editor #10

Closed sealtrowitz closed 3 years ago

sealtrowitz commented 3 years ago

Describe the bug When creating a Frame, Weapon, System, or Mod and leaving the License Level as default, the item becomes undeletable in the editor.

To Reproduce Steps to reproduce the behavior:

  1. Create a new Frame, Weapon, System, or Mod
  2. Enter anything for ID and Name fields
  3. Do not edit the License Level field (leave it as what it opens as)
  4. Save
  5. Reopen the item
  6. Try to delete it
  7. See error

Expected behavior Items left with the default License Level upon creation should be deleteable in the editor.

Screenshots n/a

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Editing the ID of an undeletable item causes the item to become duplicated (one with the old ID one with the new)-- possibly what was going on in #3 ?