kaltura_replace_tags javascripts get written to the solr search index

Created on 5 July 2011, almost 14 years ago
Updated 30 May 2025, 9 days ago

Hi,

I'm using Apache Solr Search Integration to index cck nodes with fields provided by field_kaltura module. I noticed that the javascripts that written to the node body by the kaltura_replace_tags were being indexed. They were also showing up as node content in the search results snippets. I haven't tested core search yet, but I wonder if it has the same issue?

Anyway, I'm attaching this patch which uses the drupal_add_js function instead of writing javascript directly to the body text. It solves the issue for me. If it seems workable, it would be nice to have committed.

Thanks,
Travis

Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇨🇦Canada travismccauley

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue, which was created for a project version compatible with a Drupal release no longer supported. Feel free to re-open the issue, if it is still relevant for a project version compatible with a supported Drupal release.

Production build 0.71.5 2024