snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Deleted manufacturer can't be created again with the same name

Open zrhpwr opened this issue 10 years ago • 3 comments

Expected Behavior (or desired behavior if a feature request)

Delete Manufacturer that was created, Create new manufacturer with same name


Actual Behavior

Error message "The name already been taken"


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running: 3.2.1
  • What OS and web server you're running Snipe-IT on: Windows Server 2012 R2, PHP 7
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Manual install
  • If you're getting an error in your browser, include that error: See Actual behavior
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error: Create Manufacturer
  • Confirm whether the error is reproduceable on the demo.: reproducable

zrhpwr avatar Aug 05 '16 13:08 zrhpwr

This specific issue is actually (kind of) working as intended (tm). All records in snipe-it are soft-deleted, so in theory you should be able to see deleted manufacturers and restore them.

The bug here is actually that it doesn't look like we allow a way to restore it at present. I'll see if I can remedy that this evening.

mnemonicly avatar Aug 05 '16 15:08 mnemonicly

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jan 21 '18 00:01 stale[bot]

Was this ever remedied? I'm having the same issue. Is there a way to undo the soft delete as you can with users?

Puddl36lum avatar Mar 03 '18 14:03 Puddl36lum