Wrong file type value on multiple select on files with no extension

Hello support.

There is an issue when you have a file with no extension and you try to do a multi select, the file type is not correct. Easier shown than said.

This is how it looks when it works fine. Let's say I select the following items:


Then if I show details on it, I get:


It looks ok. Because I have selected a folder and a file, the type is set to 'Multiple Types'.

Now in this examples we have a file with no extension and I do the same selection:


And then on details we have the following:


As you see, the value of type is 'Folder'. Which is not true because I also selected a file which just happens to not have an extension. The expected outcome should also be 'Multiple Types'.

I think in the code one is checking whether a file is a file if it contains an extension. However there is already a property isFile which seems to be more suitable to make that check. But well, those are implementation details, the developer should know it better.


2 Replies

LD LeoLavanya Dhanaraj Syncfusion Team June 20, 2022 06:26 PM UTC

Hi Renato,


Greetings from Syncfusion support.


We have validated your reported issue and considered it as a bug from our end. The fix for this issue will be included in our patch release which is expected to be rolled out on July 5, 2022. Please track the status through the below link.


https://www.syncfusion.com/feedback/35789/the-file-manager-incorrectly-shows-type-of-the-selected-items-when-an-unidentified


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Please get back to us if you need any further assistance.


Regards,

Leo Lavanya Dhanaraj



PM Prasanth Madhaiyan Syncfusion Team July 20, 2022 09:23 AM UTC

Hi Renato,


Thanks for your patience.


We are glad to announce that our patch release (V20.2.39) has been rolled out successfully. The issue with " The File Manager incorrectly shows Type of the selected items when an unidentified file type is selected" has been resolved in this release. To access this fix, we suggest you update the package to the 20.2.39.


Sample : https://stackblitz.com/edit/react-nldg7g-vr5yee?file=index.js


Release notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.2.39/?type=all#file-manager


Feedback : https://www.syncfusion.com/feedback/35789/the-file-manager-incorrectly-shows-type-of-the-selected-items-when-an-unidentified


Please let us know if you need any further assistance.


Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon