← Back to team overview

mahara-contributors team mailing list archive

[Bug 1216764] Re: JSON error when using drop zone

 

Hi Kristina,

This error happens when the returning code is the html page rather than
the expected json data. The html page is not expected to be returned so
obviously either a field is missing from being passed at the dropping of
files (or conversly a field that is not needed is eing passed, eg a
cancel button field). I have encountered this a couple of times and had
added fixes for it for a bunch of scenarios.

But you've discovered another one.

Are you able to let me know which page and what things were enabled on
the page eg license meta data, auto resizing etc and what browser you
were using? I suspect there is a special combo of things happening that
is causing the wrong expected results being passed back to the page.

Cheers

Bob

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1216764

Title:
  JSON error when using drop zone

Status in Mahara ePortfolio:
  Triaged

Bug description:
  latest Mahara 1.8.0dev

  When adding a file via drag and drop to a journal entry, I get
  "SyntaxError: JSON.parse: unexpected character".

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1216764/+subscriptions


References