Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check-in of parent asset (when previously checked-out to location) doesn't update location of child assets #15938

Open
2 tasks done
ko-dmv opened this issue Dec 9, 2024 · 1 comment

Comments

@ko-dmv
Copy link

ko-dmv commented Dec 9, 2024

Debug mode

Describe the bug

When you check-out a parent asset that has child assets records (children checked-out to parent) to a location, the location of the child records update to reflect that checked-out location. But when you check that parent asset back in, while the location of the parent asset goes back to its default location, the location of the child assets don't update and remain the old checked-out location.

I see that you don't encourage checking-out assets to other assets or locations, but to describe our situation, we have general use items, some of which we bundle for use at locations that rotate (ex. we have "huddle carts" as an asset that contains multiple devices). Knowing which building contains the items is our main goal.

The main reason I'm classifying it as a bug is because the initial check-out updates child locations, so it seemed like a miss on the check-in process, but if it's by design, then I would ask for this feature.

Reproduction steps

  1. Assign an asset to another asset. Make sure both assets have default locations.
  2. Check-out the parent asset to a location. Notice that the child assets will then show the checked-out location as well.
  3. Check-in the parent asset. Notice that the parent asset updates to its default asset location, but the child assets still show the prior check-out location.

Expected behavior

Child assets go back to their default location. Or if upon check-in of the parent item the user picks a different location than the default, then update child assets with that location as well.

Screenshots

No response

Snipe-IT Version

v7.0.13

Operating System

Windows

Web Server

IIS

PHP Version

8.2

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

Copy link

welcome bot commented Dec 9, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant