Enabling sequential upload screws the keep-both and overwrite functions while uploading

Hello,

So, I just wanted to enable the sequential uploading functionality using the following line:
fileManager.ej2Instances.uploadObj.sequentialUpload = true;

But then the keep-both functionality and overwriting files while uploading aren't working.

Please refer to this issue:
https://www.syncfusion.com/forums/164912/keep-both-or-replace-does-not-work

Thanks for your help


15 Replies

OM Omar May 8, 2021 12:05 PM UTC

This issue happens when trying to upload 1 file that already exists in the same path while enabling sequential upload.


IL Indhumathy Loganathan Syncfusion Team May 10, 2021 12:53 PM UTC

Hi Omar, 
  
Greetings from Syncfusion support. 
  
We have validated the query in FileManager component and able to reproduce the reported issue. We need some additional time to  validate further on the reported issue. We will update you further details within three business days on 13th May 2021. 
  
We appreciate your patience. 
  
Regards, 
Indhumathy L 



IL Indhumathy Loganathan Syncfusion Team May 13, 2021 04:12 PM UTC

Hi Omar, 
 
Thanks for your patience. 
 
We have validated your reported issue “Enabling sequential upload screws the keep-both and overwrite functions while uploading” and confirmed this as bug from our end. The fix for this issue will be included in any one of the weekly patch releases by the month of June, 2021. 
 
You can track the status through the below portal link. 
 
 
We appreciate your patience. 
 
Regards, 
Indhumathy L 



OM Omar June 12, 2021 02:59 PM UTC

Any updates on this issue ?


KR Keerthana Rajendran Syncfusion Team June 14, 2021 10:54 AM UTC

Hi Omar, 
 
Sorry for the inconvenience.  
 
Due to complexity, we are unable to include the fix for the reported issue “Enabling sequential upload screws the keep-both and overwrite functions while uploading” in weekly patch release. This fix will be included in our Volume 2 release which is expected to be rolled out by the end of June, 2021.  
 
Please track the provided feedback to know the status. 
 
Regards, 
Keerthana R.  



OM Omar July 3, 2021 09:13 AM UTC

Hello,

Any updates on this please ?



SM Shalini Maragathavel Syncfusion Team July 6, 2021 11:57 AM UTC

Hi Omar,    
  
Sorry for the inconvenience.  
  
Due to some technical difficulties, we were unable to include this fix in this 2021 Volume 2 release. We are working on this issue with high priority.  
  
We will include this fix in Volume 2 SP release which is expected to be rolled out by the end of July, 2021.  
  
We appreciate your patience.  
   
Regards,  
Shalini M. 



OM Omar August 4, 2021 01:45 PM UTC

Hello,

Any updates on this issue please.

Thanks,
Omar



KR Keerthana Rajendran Syncfusion Team August 5, 2021 03:29 PM UTC

Hi Omar, 

We regret for the inconvenience.  

While fixing the reported scenario, we are facing some complexities and we are trying for an alternate solution to achieve your scenario. We will check and update you further details on August 9, 2021. 

Regards, 
Keerthana. 



IL Indhumathy Loganathan Syncfusion Team August 10, 2021 02:15 PM UTC

Hi Omar, 
 
Sorry for the inconvenience. 
 
On further validation on the reported scenario, we come up with an alternate solution to resolve the reported issue. We have used the File Manager failure event to perform the required changes. Please check the below code snippet. 
 
failure: function (args) { 
      var fileManager = document.getElementById("overview_file"); 
      fileManager.ej2_instances[0].uploadObj.isFirstFileOnSelection = false; 
}, 
 
 
 
Also, we are validating the feasibility to implement this fix in source and we will share you further details by 13th August, 2021. We appreciate your patience. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Indhumathy L 



IL Indhumathy Loganathan Syncfusion Team August 13, 2021 03:48 PM UTC

Hi Omar, 
 
Thanks for your patience. 
 
We have considered to implement the fix for “Enabling sequential upload screws the keep-both and overwrite functions while uploading” in source level. The fix for this issue will be included in our weekly patch release which will be rolled out by the end of August, 2021. Please track the below feedback to know the status. 
 
 
We suggest you to use the shared workaround till then. We appreciate your patience. 
 
Regards, 
Indhumathy L 



OM Omar July 12, 2022 09:40 AM UTC

Hello,


I think this issue still hasn't been fixed because I just updated to the latest version and it's not yet fixed.


Thanks,

Omar



PM Prasanth Madhaiyan Syncfusion Team July 13, 2022 01:15 PM UTC

Hi Omar,


Thanks for your patience.


We have validated your reported query in the Vue FileManager component by preparing a sample with the Physical File System provider and we are not able to replicate the reported issue at our end. When we upload the same file, it is uploaded based on the option (Keep both, Replace, Skip) chosen.


For your reference, we have attached the sample, Physical File System provider, and video footage.


Sample : https://codesandbox.io/s/ecstatic-rain-m2i077?file=/src/App.vue


Provider : https://github.com/SyncfusionExamples/ej2-aspcore-file-provider


Video : https://www.syncfusion.com/downloads/support/directtrac/general/ze/VideoFileManager1882922972.zip


Have you performed any customizations at your end with the Upload file operation? If possible, replicate the issue in the above shared sample with a video to further validate this issue.


Regards,

Prasanth Madhaiyan.



OM Omar July 13, 2022 01:50 PM UTC

Have you enabled sequential upload ?



PM Prasanth Madhaiyan Syncfusion Team July 14, 2022 10:05 AM UTC

Hi Omar,


Yes, we have enabled the sequential upload of the previously shared sample. We are able to upload files sequentially and see the options while uploading the same files. For your reference, we have attached the video.


Video : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video-736810295.zip


We suspect that this issue may occur due to cache issues. We suggest you follow the below steps.


 

1.Delete the package.lock.json file from your application.

2.Remove the complete node_modules folder.

3.Run npm cache clean --force command.

4.Then run npm install and run the sample.

 


If the issue still persists, please share the sample with video footage and exact steps you are following at your end. These details will help us to check and provide a prompt solution. Please get back to us if you need any further assistance.


Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon