Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7987

[RT] Richt Text custom attributes are indexed

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Customer request, 3.3.36
    • None
    • Ibexa Commerce, Ibexa Content, Ibexa Experience, Ibexa Open Source
    • Yes

    Description

      1. Add custom attribute to the richtext editor as follows:

      config/packages/my_custom_attribute.yaml
      ezplatform:
          system:
              admin_group:
                  fieldtypes:
                      ezrichtext:
                          attributes:
                              embed:
                                  my-attribute:
                                      type: choice
                                      choices: [attributefoo, attributebar]
                                      default_value: attributefoo
                                      required: false
                                      multiple: false
      

      2. Edit Content and embed another Content Object
      3. Edit Attribute and set value to attributefoo
      4. Publish Content
      5. Search for attributefoo

      Result:
      Search finds the previously changed Content

      Expected:
      Search should not find the previously changed Content, as information is not supposed to be "content"
      (Note:  in some usecases it might be expected behavior that custom attributes can be found - so ideally it should be possible to control this behavior per attribute)

      Designs

        Attachments

          Activity

            People

              adam.wojs@ibexa.co Adam Wójs
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: