dojo / dojo/dojox

Problems with the HTML5 Uploader - JSON.parse: unexpected character at line 1 column 1 of the JSON data

Open
#285 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
151
Forks
222
PR merge metrics
No merged PRs in 30d

Description

There is currently a problem with the HTML5 uploader. As soon as an image is uploaded, an error occurs.
This happens in the Chrome Browser from 67 and in Firefox from 60
See Screenshots.
error_html5_uploader_json

On Chromium 65 works fine...

How can I solve the problem?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the HTML5 uploader and reproduce the upload in Chrome 67 or later and Firefox 60 or later, comparing the behavior with Chromium 65. The issue names no source file or test, so trace the upload response to the JSON.parse failure. Done means an image upload completes without the reported parsing error in the affected browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.