AJAX HTTP error occurred with non custom search created

Created on 25 January 2023, almost 2 years ago
Updated 16 February 2023, almost 2 years ago

Problem/Motivation

Hello I can't use it only with packaged searches it is necessary to have created a search by interface, maybe it would be good to use it directly with packaged searches instead of needing also the custom searches.

This is a error on console:

js_RWkfnbYadxtct8uO2TD-wKmgOozJRkEvdWclDcVEgCg.js:2098 Uncaught Drupal.AjaxError {message: '\nAn AJAX HTTP error occurred.\nHTTP Result Code: 20…rap4?region=content\nStatusText: OK\nResponseText: ', name: 'AjaxError'}

Steps to reproduce

Install module only with packaged searches and try to create a block.

Proposed resolution

Allow to create afform block without custom searches.

Tested on CiviCRM 5.51, 5.70.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @CsarR
  • πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

    Thanks for reporting! @CsarR I need more information to reproduce, version of Drupal, any extra steps/packaged search etc.

    Steps I took to reproduce:

    • Install new blank civicrm buildkit site (gives Drupal 9.5.2 with demo CiviCRM 5.57.1) `civibuild create d95571 --type drupal9-demo --url d95571.localhost --civi-ver 5.57.1`
    • Install this module `composer require drupal/civicrm_afform_block`
    • Enable this module `drush en -y civicrm_afform_block`
    • Go directly to "structure > block layout > place block" and place a CiviCRM Afform Block. The only choice is "Grant" as packaged. Place the block in a region and save.
    • Navigate to home page, Grant block appears for me.
  • Status changed to Closed: cannot reproduce almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

    Setting this to closed (cannot reproduce).

    Please feel free to re-open with more information if you're still experiencing this!

Production build 0.71.5 2024