Skip to content

Invalid JSON Response Error #395

Open
@axmitchell

Description

@axmitchell

Making a jump from 0.4.2 to the latest 1.3.1 version and Im now receiving an error:

NotImplementedError:
   NotImplementedError
#Selenium::WebDriver::Error::UnexpectedAlertOpenError:
     #   unexpected alert open: {Alert text : DataTables warning: table id=DataTables_Table_0 - Invalid JSON response.

The error points to this segment of code.

    respond_to do |format|
      format.html
      format.json do
        render json: VolunteerManagement::Admin::AssignmentsDatatable.new(
          view_context,
          school_id: @school.id,
          role_map: @role_map,
        )
      end
    end

VolunteerManagement::Admin::AssignmentsDatatable inherits from AjaxDatatablesRails::Base

Apologies if this isn't as thorough as expected. First time making an issue report. Will be happy to provide further details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions