Hi,

On a fresh Drupal installation (with a fairly limited amount of modules), with trying to search in the DnD Library, the JSON output is displayed, which should be because of an AJAX related error.

A similar issue was fixed here : Fixed raw JSON output on in scald library when there were no ajax elements in the form

Also, adding a new atom (image or Dailymotion video) works but the atom list isn't refreshed in the library, which I suppose it should be (so again a likely AJAX error).

I tested with the vanilla Jquery and with 1.5, 1.7 and 1.8 with Jquery Update, and also tried the Seven and the Rubik admin themes, with no further luck.

Has anyone ran into a similar issue ?

Thanks,
Hugh

Comments

jcisio’s picture

Status: Active » Postponed (maintainer needs more info)

Precisely which is the JS error? Also, did you try 1.x-dev?

alex.bukach’s picture

Status: Postponed (maintainer needs more info) » Active

I am on latest 7.x.-1.x-dev, and I face the same issue: when I am on node add page and click 'Apply' button on Scald search form, it reloads page with JSON output for Scald widget displayed. I have the same issue when creating new image atom from the same page.

It does not display any error, it just displays JSON.

alex.bukach’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB

In my case it appeared to be caused by module expectation that view button was implemented by <input> tag, while it was <button>. Some pieces of javascript took it into account, but some applied to <input>'s only.

alex.bukach’s picture

Title: JSON outpout displayed when searching in DnD Library » JSON output displayed when searching in DnD Library

Status: Needs review » Needs work

The last submitted patch, 3: scald-json_displayed-2201497-3.patch, failed testing.

alex.bukach’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs work » Needs review
alex.bukach’s picture

jcisio’s picture

Status: Needs review » Fixed

Thanks, committed.

  • Commit 9535f4a on 7.x-1.x authored by Alex Bukach, committed by jcisio:
    Issue #2201497 by Alex Bukach | hughtebby: JSON output displayed when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.