getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.27k stars 167 forks source link

[3.6.0] Modal appears in Panel: JSON response could not be parsed #3508

Closed foobartel closed 3 years ago

foobartel commented 3 years ago

Describe the bug

A modal containing the complete panel opens and shows the a message of: "The JSON response could not be parsed:"

To Reproduce
Steps to reproduce the behavior:

  1. Open the panel
  2. Wait a few seconds

Expected behavior
Expected would be to not see this modal and not get an error.

Screenshots
Screenshot 2021-07-09 at 12 31 03 PM

Kirby Version
3.6.0-alpha.1

Console output

Uncaught (in promise) Error: The JSON response from the API could not be parsed
    at Object.onParserError (index.js:1)
    at X (index.js:1)
    at async Object.request (index.js:1)
    at async Object.go (index.js:1)
onParserError @ index.js:1
X @ index.js:1
async function (async)
go @ index.js:1
t.$go.window.panel.$go @ index.js:1
onClick @ index.js:1
Bt @ vendor.js:6
n @ vendor.js:6
Zr.i._wrapper @ vendor.js:6

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

afbora commented 3 years ago

I couldn't reproduce the issue on Windows & Chrome.

distantnative commented 3 years ago

Pretty sure this is a duplicate of https://github.com/getkirby/kirby/issues/3507 - since we are discussing over there, closing this one for now.