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

Licenses checked out to an asset end up incorrectly filed if the Asset is moved between users #8883

Open
2 tasks done
VibroAxe opened this issue Dec 10, 2020 · 3 comments
Open
2 tasks done

Comments

@VibroAxe
Copy link

Expected Behavior (or desired behavior if a feature request)

  • Check out asset A to user B
  • Check out license C to a asset A
  • Check asset A licenses to see License C
  • Check user B licenses to see License C
  • Check in asset A
  • Check asset A licenses to see License C
  • Check user B licenses to see no licenses
  • Check out asset A to user D
  • Check asset A licenses to see License C
  • Check user B licenses to see no licenses
  • Check user D licenses to see License C

Actual Behavior

  • Check out asset A to user B
  • Check out license C to a asset A
  • Check asset A licenses to see License C
  • Check user B licenses to see License C
  • Check in asset A
  • Check asset A licenses to see License C
  • Check user B licenses and find License C
  • Check out asset A to user D
  • Check asset A licenses to see License C
  • Check user B licenses and find License C
  • Check user D licenses to see no licenses

Steps to resolve

  • Check in license C
  • Checkout license C to Asset A

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


Provide answers to these questions:

  • Is this a fresh install or an upgrade?
    • Fresh
  • Version of Snipe-IT you're running
    • v4.9.4 build 4437 (g799a93c46)
  • Version of PHP you're running
    • 7.1.33-16+ubuntu16.04.1+deb.sury.org+1
  • Version of MySQL/MariaDB you're running
    • 5.6.49
  • What OS and web server you're running Snipe-IT on
    • Docker
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
    • Docker
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
    • No errors
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
    • /licenses
    • /assets
  • If a stacktrace is provided in the error, include that too.
    • None
  • Any errors that appear in your browser's error console.
    • None
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
    • Yes
  • Include any additional information you can find in storage/logs and your webserver's logs.
    • Can't see any particular users, feels like a step is missing
  • Include what you've done so far in the installation, and if you got any error messages along the way.
    • No errors, functionality mismatch
  • Indicate whether or not you've manually edited any data directly in the database
    • No

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

@welcome
Copy link

welcome bot commented Dec 10, 2020

👋 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.

@VibroAxe
Copy link
Author

VibroAxe commented Jan 6, 2021

Bounce?

@VibroAxe
Copy link
Author

Bounce2?

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