apachesolr_index_add_tags_to_document not getting the correct body text and not working as expected

It gets the text after it does the apachesolr_clean_text which removes the tags... This is bad behaviour. Fixing this asap

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nick_vh’s picture

Status: Active » Needs review
FileSize
1.49 KB
pwolanin’s picture

Looks like it has to be in the entity specific callback unless we add a way pass around the raw content?

pwolanin’s picture

Here's a test-only patch + combined which also removes unused function apachesolr_add_tags_to_document()

Status: Needs review » Needs work

The last submitted patch, 1966488-test-only-3.patch, failed testing.

pwolanin’s picture

Status: Needs work » Needs review

ok, looks like the test case is detecting the bug.

Nick_vh’s picture

Priority: Normal » Major
pwolanin’s picture

FileSize
8.6 KB

committed to 7.x this patch (also fixes README)

pwolanin’s picture

Version: 7.x-1.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

need to backport to 6.x-3.x

pwolanin’s picture

patch doesn't apply cleanly to 6.x, needs a little manual cleanup

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner
Issue summary: View changes
mkalkbrenner’s picture

Status: Patch (to be ported) » Needs review
FileSize
8.37 KB

Backported to D6.

mkalkbrenner’s picture

Status: Needs review » Fixed

  • Commit de2eff8 on 6.x-3.x by mkalkbrenner:
    Issue #1966488 by Nick_vh, pwolanin, mkalkbrenner:...

Status: Fixed » Closed (fixed)

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