Missing getTextFormat() Method in GeneralHelper Class Causes Error

Created on 27 November 2024, 27 days ago

When using the Simple Crawler module in conjunction with the Drupal AI Automator module, an error occurs due to a missing getTextFormat() method in the GeneralHelper class.

Not sure if this is the best fix, but this patch adds the getTextFormat() method to return a default text format ID, resolving the error.

Steps to Reproduce:

  1. Install and enable the Simple Crawler and Drupal AI modules.
  2. Switch from "HTML Depth Crawler" to "HTML Crawler" in the Simple Crawler module.
  3. Observe the error related to the missing getTextFormat() method.

Proposed Resolution:

Implement the getTextFormat() method in the GeneralHelper class to return a default text format ID ('basic_html').

🐛 Bug report
Status

Active

Version

1.0

Component

AI Automators

Created by

🇰🇬Kyrgyzstan dan_metille

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

Comments & Activities

Production build 0.71.5 2024