Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#11 | 1966488-11.d6.patch | 8.37 KB | mkalkbrenner |
#7 | 1966488-5.patch | 8.6 KB | pwolanin |
#3 | 1966488-3.patch | 8.08 KB | pwolanin |
#3 | 1966488-test-only-3.patch | 5.27 KB | pwolanin |
#1 | 1966488-1.patch | 1.49 KB | Nick_vh |
Comments
Comment #1
Nick_vhComment #2
pwolanin CreditAttribution: pwolanin commentedLooks like it has to be in the entity specific callback unless we add a way pass around the raw content?
Comment #3
pwolanin CreditAttribution: pwolanin commentedHere's a test-only patch + combined which also removes unused function apachesolr_add_tags_to_document()
Comment #5
pwolanin CreditAttribution: pwolanin commentedok, looks like the test case is detecting the bug.
Comment #6
Nick_vhComment #7
pwolanin CreditAttribution: pwolanin commentedcommitted to 7.x this patch (also fixes README)
Comment #8
pwolanin CreditAttribution: pwolanin commentedneed to backport to 6.x-3.x
Comment #9
pwolanin CreditAttribution: pwolanin commentedpatch doesn't apply cleanly to 6.x, needs a little manual cleanup
Comment #10
mkalkbrennerComment #11
mkalkbrennerBackported to D6.
Comment #12
mkalkbrenner