On chromium-based browsers such as google chrome, on the html5 version of duelingbook, I can't upload 1 image twice

If you experience a glitch on the site, create a topic and tell us about it here
Christen57
User avatar
Posts: 2037
Joined: Sun May 07, 2017 10:37 pm
Reputation: 182
Location: New York, United States of America

On chromium-based browsers such as google chrome, on the html5 version of duelingbook, I can't upload 1 image twice

Post #1 by Christen57 » Sat Nov 28, 2020 4:54 pm

There's this glitch that has existed for months now, on chromium-based browsers such as google chrome, on the html5 version of duelingbook https://www.duelingbook.com/html5 where if I try to upload for example blue.jpg to my custom card, I can't reupload that same image again in a row unless I either rename it first or refresh the duelingbook page.

Here are videos of the glitch I'm talking about. Both of these videos were recorded using bandicam, at 25 frames per second.

https://i.imgur.com/l8yGDU6.mp4
https://i.imgur.com/qxEFUbt.mp4

As you can see, when I upload blue.jpg twice in a row, it doesn't work the second time, but when I rename blue.jpg to something else like blue1.jpg, somehow it now works, but then I can't reupload that same blue1.jpg again unless I rename it again to something else.

This doesn't happen on non-chromium browsers such as firefox.

https://i.imgur.com/z9VjpRY.mp4

As you can see, it works fine on firefox.

On the chromium-based browsers however, not only do I have that issue of custom card images not being able to be uploaded successfully more than 1 time in a row unless I refresh the page or rename the image, but whenever I upload my custom card image successfully on the chromium-browsers, I get this error in the console:

Code: Select all

Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
    at HTMLHtmlElement.<anonymous> (https://www.duelingbook.com/static/utils.js?v=412:6410:18)
    at HTMLHtmlElement.dispatch (https://www.duelingbook.com/static/jquery.min.js:3:10316)
    at HTMLHtmlElement.q.handle (https://www.duelingbook.com/static/jquery.min.js:3:8343)
(anonymous)   @   utils.js?v=412:6410
dispatch   @   jquery.min.js:3
q.handle   @   jquery.min.js:3


Image

This is what the error looks like when it happens:

Image

Yet, when I upload images on firefox, I never get this error in the firefox console.

Image

I'm guessing this error has something to do with the problem. It's saying it "failed to set" some sort of value property on one of duelingbook's elements, but I don't know which element it's trying to change the value of, why it needs to do that when images are being uploaded on chromium-based browsers, and why this issue never comes up on firefox or any other browser that is not chromium-based.

Amr Khalid
User avatar
Posts: 37
Joined: Wed Apr 19, 2017 8:42 am
Reputation: 8
Location: Egypt
Mood:

Post #2 by Amr Khalid » Tue Dec 08, 2020 2:48 pm

this is normal for most sites, even for non chromium

Christen57
User avatar
Posts: 2037
Joined: Sun May 07, 2017 10:37 pm
Reputation: 182
Location: New York, United States of America

Post #3 by Christen57 » Tue Dec 08, 2020 4:40 pm

Amr Khalid wrote:this is normal for most sites, even for non chromium


Do you know why exactly this happens?

Amr Khalid
User avatar
Posts: 37
Joined: Wed Apr 19, 2017 8:42 am
Reputation: 8
Location: Egypt
Mood:

Post #4 by Amr Khalid » Tue Dec 08, 2020 4:41 pm

no i don't, but in most sites trying to upload even different images if it's same file name it doesn't work and i have to change it

Christen57
User avatar
Posts: 2037
Joined: Sun May 07, 2017 10:37 pm
Reputation: 182
Location: New York, United States of America

Post #5 by Christen57 » Tue Dec 08, 2020 8:05 pm

Amr Khalid wrote:no i don't, but in most sites trying to upload even different images if it's same file name it doesn't work and i have to change it


I've figured out a temporary fix to this issue and made a post here on it. https://forum.duelingbook.com/viewtopic.php?f=13&t=12858


Return to “Report Glitch”

Who is online

Users browsing this forum: No registered users and 414 guests