Facing Ajax error when trying to place "FAQ Categories" block in any region.
Steps to Reproduce:

  1. Installed the FAQ module.
  2. Created a term reference field for FAQ content type.
  3. Created content for FAQ content type.
  4. Enabled "Categorize questions" under " Administration > Configuration > Content authoring > FAQ > Categories"
  5. And when trying to assign "FAQ Categories" block to any region, getting an ajax error.

Comments

sravya_12 created an issue. See original summary.

sravya_12’s picture

Issue summary: View changes
sravya_12’s picture

StatusFileSize
new4.58 KB

The issue was because of the multiple interfaces being used in the Block plugin. They can be removed and can be directly called in the build function.

sravya_12’s picture

Status: Active » Needs review
sravya_12’s picture

sravya_12’s picture

yasmeensalah’s picture

This patch worked for me

yasmeensalah’s picture

StatusFileSize
new1.06 KB
yasmeensalah’s picture

StatusFileSize
new3.65 KB

Updated the patch to work with panels

Christopher Riley’s picture

Would like to see this committed as not seeing any issues with it.

rajab natshah’s picture

Assigned: sravya_12 » Unassigned
Status: Needs review » Reviewed & tested by the community

andrey.troeglazov’s picture

andrey.troeglazov’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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