inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.32k stars 781 forks source link

Image File Upload button click opens both the image and the upload modal on top of each other #8068

Closed simonkuehling closed 2 months ago

simonkuehling commented 2 months ago

Please verify that this bug has NOT been raised before.

Describe the bug*

In the PUI I cannot upload image files for parts etc at the moment. when hovering the image and clicking the "Upload new image" icon, it seems to issue the "view image in large" and the "upload new file" windows/modals both on top of each other.

Steps to Reproduce

  1. hover over image grafik

  2. click "upload new image" icon grafik

  3. hit ESC to close the image and reveal the upload screen behind it grafik

Expected behaviour

only the file upload screen should display

Deployment Method

Version Information

InvenTree Version
0.17.0 dev Commit Hash f144158 Commit Date 2024-09-03 Commit Branch
API Version 249 Python Version
3.11.9 Django Version
4.2.15

Please verify if you can reproduce this bug on the demo site.

Relevant log output

No response

SchrodingersGat commented 2 months ago

@simonkuehling thanks for reporting, fix incoming in https://github.com/inventree/InvenTree/pull/8071