Delete requested Asset
Please confirm you have done the following before posting your bug report:
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug I have an asset thats checked out to a user. Before checking out, another user tried to request that asset but it didnt got accepted. Now the asset is checked out to user 1 but user 2 still has the request open under "requested assets" and as an admin i can still see the request under "requested"
To Reproduce Steps to reproduce the behavior:
- Request an asset
- Disable requestable status of that asset without accepting the pending request
- checkout asset to another user
- look under "requested" and see the still pending request
Expected behavior request for asset gets removed or option to remove the request
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Snipe-IT Version: 5.1.4
- OS: Windows Server
- Web Server: IIS
- PHP Version: 7.4
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome
- Version: 89
Error Messages
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
- Include any additional information you can find in
storage/logsand your webserver's logs. - Include the output from
php -m(this should display what modules you have enabled.)
Additional context
- Is this a fresh install or an upgrade?
- What OS and web server you're running Snipe-IT on
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
- Include what you've done so far in the installation, and if you got any error messages along the way.
- Indicate whether or not you've manually edited any data directly in the database
Add any other context about the problem here.
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.
I confirm that this is the desired function
Will the feature be added?
https://github.com/grokability/snipe-it/pull/17417