Forum Discussion

Rob-CTL's avatar
Rob-CTL
Iron Contributor
Sep 06, 2018

Modern Document Library Web Part - Potential bug - Duplicate file handling broken

Hi,

 

Another potential bug found on the modern document library web part.  When uploading (or drag 'n drop) a file that has the same name as an existing file you get the following error:

 

"Cannot read property 'isCanceled" or undefined"

 

If you open the document library the file upload behaviour is as expected i.e. prompts you to overwrite existing file and then upload completes successfully.

 

Cheers

Rob

 

10 Replies

  • Ted Fitch's avatar
    Ted Fitch
    Copper Contributor

    Rob-CTL LincolnDeMaris 

     

    Rob or Lincoln did this ever get fixed?  It seemed like this bug was fixed but now all of a sudden it's not working again.  In fact in a modern doc lib web part when I drag and drop or upload a file of the same name nothing happens at all - it doesn't even throw and error it just does nothing.  I'm concerned we have users who think they have uploaded their most recent document but in fact they haven't which result in churn while people deal with this!

    • Rob-CTL's avatar
      Rob-CTL
      Iron Contributor

       Ted Fitch as you say the original one was fixed but we appear to have a new bug feature on the scene.  Are you guys on the targeted or standard release cycle?

      • Ted Fitch's avatar
        Ted Fitch
        Copper Contributor

        Rob-CTL  thanks for confirming the new "feature" 🙂

         

        I think we are on standard release - maybe worth switching to targeted

  • Nocton182's avatar
    Nocton182
    Copper Contributor

    We have encountered a new problem. Uploading a file in the Document Library web part that has the exact same name does not prompt you to replace the existing file and nothing is happening, but it is working when you upload the file directly on the Document Library App. Please advise.

Resources