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

[RT] Removing a class from CSS class config can break existing settings

    XMLWordPrintable

Details

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

    Description

      Steps to reproduce:

      config/packages/app_custom_class.yaml
      ibexa:
          system:
              admin_group:
                  fieldtypes:
                      ezrichtext:
                          classes:
                              paragraph:
                                  choices: [regular, special, tip_box, warning_box]
                                  default_value: regular
                                  required: false
                                  multiple: true # <-- !
      
      • run php bin/console c:c
      • Edit Richtext block and set classes special and tip_box for a paragraph
      • Publish Content
      • Edit config/packages/app_custom_class.yaml and remove special from choices
      • run php bin/console c:c
      • Edit previously changed Richtext block and check the paragraph's classes

      Result:
      Classes special and tip_box are both gone

      Expected Result:
      Class tip_box should still be set

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: