The asset location is being deleted
Debug mode
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug
Good afternoon. I see this error (bug or feature) on all versions of the service and it has not been fixed yet. The problem is the following - when checking an asset, I choose its location. If you edit something in the asset after that, then its location will be deleted. The asset will be without a location. It will not be possible to find this asset in the location, since it will not be in this location. This is easily verified in the demo version of the service.
Reproduction steps
- Make a checkin from of the assigned asset (release the asset from the user), choosing a location for an asset
- I edit some asset property (for example, order number)
- This is enough for the asset location to be deleted ...
Expected behavior
The asset must be located in the place where it was distributed in the "check in asset" process
Screenshots

Snipe-IT Version
v6.1.0 (and all previous)
Operating System
official demo site
Web Server
official demo site
PHP Version
official demo site
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
and it has not been fixed yet
First we're hearing about it. We'll take a look.
Hi, I tested this on mine and my location did not delete after checking in and editing the asset. I am running v6.0.14 - build 9038 (master). Could it just be in version 6.1? I haven't updated mine yet as I am keeping a close eye on any potential issues with 6.1. I am very exited to update to version 6.1 in June once school is let out. Thanks! :)
Hi, I tested this on mine and my location did not delete after checking in and editing the asset. I am running v6.0.14 - build 9038 (master). Could it just be in version 6.1? I haven't updated mine yet as I am keeping a close eye on any potential issues with 6.1. I am very exited to update to version 6.1 in June once school is let out. Thanks! :)
An asset can have two locations - Default Location and Location. The default location is edited by the asset, and the location is assigned from the user (the user to whom the asset belongs). These two locations may be different. The default location is not affected by this problem. It is not deleted. And if the asset has only a location (without a default location), then it is deleted. I'm not making it up, it's very easy to repeat in the official demo site. While this "problem" exists, I use the default location out of necessity - when I need to place an asset in the right place, and for it to be there - during the Checkin Asset operation, I assign it the default location. In this case, the number of actions increases.. I need to assign a default location in the asset, and only then perform the Checkin Asset operation. When I need to assign an asset to a user, I do a Checkout Asset operation, after which I have to delete the default location of the asset, since it may not match the user's location.
When I need to assign an asset to a user, I do a Checkout Asset operation, after which I have to delete the default location of the asset, since it may not match the user's location.
The default asset location should not need to match the user's location - that's the entire point. The default location is where it lives when it's not assigned, which gets superseded when the asset is assigned to someone.
Hi there - We haven't heard back in a bit, so I'm going to close this ticket for now, but will re-open it if you're still having issues.
