snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

No svg image upload possible for manufactures

Open Xeon131 opened this issue 7 years ago • 2 comments

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

Describe the bug Uploading of svg logos for manufacturers not possible.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Manufactures'
  3. Edit one manufacturer or create one
  4. Click on "Select File"
  5. On Windows you have to click on "All Files" too select svgs. (Please put all supported image types in default file scope).
  6. Upload a svg picture
  7. Click on save
  8. See error

Expected behavior A clear and concise description of what you expected to happen. Upload works fine for a svg

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Snipe-IT Version 4.6.17
  • OS: [Raspbian]
  • Web Server: [Apache]
  • PHP Version 7.0.33

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [chrome]
  • Version [ 74.0.3729.131]

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.
    YES
  • Include any additional information you can find in storage/logs and your webserver's logs. Accepted filetypes are jpg, png, gif, and svg. Max upload size allowed is 8M.

The image must be a file of type: png, gif, jpg, jpeg, svg.

Additional context

  • Is this a fresh install or an upgrade? 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.

Xeon131 avatar May 22 '19 16:05 Xeon131

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Jul 21 '19 17:07 stale[bot]

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

stale[bot] avatar Jul 28 '19 17:07 stale[bot]