Uploaded image for project: '[Read Only] - Hippo HTML Processor'
  1. [Read Only] - Hippo HTML Processor
  2. HHP-3

Filter should be applied after visitors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 154

      Description

      As an improvement we decided to filter the HTML before passing it through the visitors. This solves the current issue that if a customer wants to filter <img/> or <a/> nodes, it will be possible to first create facets pointing to an image or a document (done by the image/link visitor) and then remove the <img/> or <a/> element from HTML, but not the created facets, as their is no functional relation between the visitors and the filtering.

      But, by changing the order (first filter, then visitors) we lose required information from the HTML elements (specifically the data-uuid attribute) that is used by the visitors. So this will not work.

      For now we should simply revert to the old behaviour and see if we can improve this corner-case in a different issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                abogaart Arthur Bogaart
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: