Cannot list Unaccepted Assetsafter update 4.9.4 to 5.0.6.
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 A clear and concise description of what the bug is. Dear All, we realy loved the Snipe-IT system and we are using it at our core. After the upgrade from 4.9.4 to 5.0.6 the list of Unaccepted Assets report shows the real list for 1 second and turns to a blank page after that. I rebooted the server, used Incognito browser but no luck. I added the screenshots with the shown list for 1 second and the afterlist.
I also paseted the console errors from the browser:
Console errors shown as: Error with Feature-Policy header: Unrecognized feature: 'ambient-light-sensor'. Error with Feature-Policy header: Unrecognized feature: 'animations'. Error with Feature-Policy header: Unrecognized feature: 'battery'. Error with Feature-Policy header: Unrecognized feature: 'display-capture'. Error with Feature-Policy header: Unrecognized feature: 'legacy-image-formats'. Error with Feature-Policy header: Unrecognized feature: 'oversized-images'. Error with Feature-Policy header: Unrecognized feature: 'publickey-credentials'. Error with Feature-Policy header: Unrecognized feature: 'unsized-media'. Error with Feature-Policy header: Unrecognized feature: 'vibrate'. Error with Feature-Policy header: Unrecognized feature: 'wake-lock'.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen. Showing the list as suggested.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Snipe-IT Version v5.0.6 build 5526 (g8a7cd8764)
- OS: [e.g. Ubuntu, CentOS] CentOS 7
- Web Server: [e.g. Apache, IIS] Apache version: Apache/2.4.39
- PHP Version 7.3.13
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows 10
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 86.0.4240.183
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
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.
👋 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.
Dear All,
I checked from your Demo also, same issue appears. I think It'a cummon bug. I chenged the browser to firefox but same issue.
Same here #8626
I am able to reproduce this - looking at it now
Same here, version 5.0.9: Chrome console: Error with Feature-Policy header: Unrecognized feature: 'ambient-light-sensor'. Error with Feature-Policy header: Unrecognized feature: 'animations'. Error with Feature-Policy header: Unrecognized feature: 'battery'. Error with Feature-Policy header: Unrecognized feature: 'display-capture'. Error with Feature-Policy header: Unrecognized feature: 'legacy-image-formats'. Error with Feature-Policy header: Unrecognized feature: 'oversized-images'. Error with Feature-Policy header: Unrecognized feature: 'publickey-credentials'. Error with Feature-Policy header: Unrecognized feature: 'unsized-media'. Error with Feature-Policy header: Unrecognized feature: 'vibrate'. Error with Feature-Policy header: Unrecognized feature: 'wake-lock'.
@thetiagomatos Those policies should not prevent anything from loading there. (We have hundreds - probably thousands od users and customers who use Chrome.) It throws it up as an error, but it doesn't actually block other things from loading.
There seems to be some debate as to whether or not the "spec was misleading" in the Chrome community, but
- Can you load that page in the demo in Chrome? https://demo.snipeitapp.com/
- Is that the only page that isn't loading for you in Chrome? (If it's the only page that's not loading, it's not the security headers, since those are on every page.)
@thetiagomatos Those policies should not prevent anything from loading there. (We have hundreds - probably thousands od users and customers who use Chrome.) It throws it up as an error, but it doesn't actually block other things from loading.
There seems to be some debate as to whether or not the "spec was misleading" in the Chrome community, but
- Can you load that page in the demo in Chrome? https://demo.snipeitapp.com/
- Is that the only page that isn't loading for you in Chrome? (If it's the only page that's not loading, it's not the security headers, since those are on every page.)
Yeah, everything is good with the demo. I opened an issue so it's easier for you guys to check this out. #8817 It seems that i can't save any changes on settings.