uvdesk / support-center-bundle

Provide your customers with convenience by introducing the Support Center Portal to your UVDesk Community Helpdesk System.
https://www.uvdesk.com
MIT License
34 stars 25 forks source link

In Folder, if we using the any docs file in folder image file upload so here showing an error instead of warning #218

Open komal-sh-27 opened 1 year ago

komal-sh-27 commented 1 year ago

Description
In Folder, if we using the any docs file in folder image file upload so here showing an error instead of warning

How to reproduce
Step 1: Click on folder option then image select with .docx file in updated folder page then save

Step 2: Here after click on save button showing an error instead of warning message:

image

Check these cases:

  1. When Create new folder with word file then showing a pop up
  2. When Update folder with word file then showing an error
  3. When Create new folder with .php file then saved easily instead of showing a warning message.
  4. When Update folder with .php file also saved successfully instead of showing a warning message.

Step 3: If we using .php extension in image file upload so here .php extension image file added successfully instead of showing warning.

Possible Solution
If we have upload .docx file or .php file image rename of added .php extension in jpg image so here showing a warning message instead of error:

image