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

inconsistencies between matched Request's Site Access and Page Builder's one

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      Steps to reproduce:

      1. Create ger-DE and eng-DE languages.
      2. Create the following setup:
                match:
                    Compound\LogicalAnd:
                        test_germany_en:
                            matchers:
                                Map\URI:
                                    en: true
                                Map\Host:
                                    test.de.aaaa: true
                            match: test_germany_en
                        test_germany_de:
                            matchers:
                                Map\Host:
                                    test.de.aaaa: true
                            match: test_germany_de
        
                list: [test_germany_de, test_germany_en]
                groups:
                    group:
                        - test_germany_de
                        - test_germany_en
        
                test_germany_de:
                    languages: [ger-DE]
                test_germany_en:
                    languages: [eng-DE]
        
                admin_group:
                    languages: [eng-GB, eng-DE, ger-DE]
                    page_builder:
                        siteaccess_list:
                            - test_germany_de
                            - test_germany_en
        
      1. Edit vendor/ezsystems/ezplatform-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/default/content/full.html.twig file and add
         {{ dump(app.request.attributes) }} 

        under

        {% block content %}
      1. Create Landing Page in ger-DE language.
      2. Translate this Landing Page to eng-DE language and publish.

      Result:
      Notice different Site Accesses matched:

      Expected result:
      Site Accesses should be the same in both those spots.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: