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

Can't reset Asset tag

Open sydit opened this issue 9 years ago • 5 comments

Expected Behavior (or desired behavior if a feature request)

Asset tag value increment by one


Actual Behavior

I have imported 59 assets to snipe using built-in import wizard. The last asset has tag id HCW0059. The auto increment option is also enabled on admin settings page. But when I create a new asset by Create New>Asset , the tag value created is HCW0275 instead of HCW0060. There are no deleted items in "Deleted Assets" page. Also tried "Purge Deleted Records". I do not want to edit asset tag manually every time.

All previous assets were removed which was created during the testing phase. The server is in production now.

  • Snipe-IT version v3.6.2 build 18 (g6f1e0d6)

  • PHP Version 5.5.9-1ubuntu4.20

  • Laravel Version 5.2.45

  • Manual Install

  • Not performed manual editing on DB

  • I have enabled debug mode

  • I have read checked the Common Issues page

sydit avatar Dec 27 '16 09:12 sydit

Thanks its works!

sydit avatar Jan 09 '17 04:01 sydit

Sorry I'm missing something here... how does one apply this fix? Was this in a patch release and not mentioned in the release notes?

ebonweaver avatar Jun 08 '17 21:06 ebonweaver

Upgrade to latest v3.x

snipe avatar Jun 08 '17 23:06 snipe

Facing same issue once again. Using 4.0.9. My last asset tag before upgrade is HW0854. However after upgrade when I create asset, the tag reset to HW0001. I tried above solutions but it was not successful this time.

sydit avatar Oct 11 '17 08:10 sydit

Not the same issue. Please see the GH issue you opened.

snipe avatar Oct 11 '17 08:10 snipe