Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-696

Siteaccess selection broken, in Page tab, with custom tree_root setting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 16.02
    • Fix Version/s: Customer request
    • Component/s: Studio UI
    • Labels:
      None

      Description

      When moving from Content Structure to Page you also "inherit" the last visited in Content Structure.
      This may seem like a good thing, but as it is implemented now it only works for the "site" siteaccess that has it root location as default. As soon as you click on your own siteaccess things goes bad.

      steps to reproduce:
      • install ezstudio with demo content
      • assign tree_root of a siteaccess to "Another Landing Page"

                no:
                    languages:
                        - nor-NO
                        - eng-GB
                    content:
                      tree_root:
                          location_id: 105
        

      • Login on admin interface
      • Using the Content Tab, navigate to "Another Landing Page"
      • Select the Page Tab
      • Select Siteaccess: no
        => You'll run into a "no route found" error

        Issue Links

          Activity

          Hide
          Sławomir Uchto added a comment - - edited

          There are two Pull Requests that fix this issue, both required.

          Pull Request: https://github.com/ezsystems/StudioUIBundle/pull/528
          Commit: https://github.com/ezsystems/StudioUIBundle/pull/528/commits/b2408e75a7383fba8d55b3a3b72f21115633a24e
          Commit hash: b2408e75a7383fba8d55b3a3b72f21115633a24e

          Pull Request: https://github.com/ezsystems/StudioUIBundle/pull/530
          Commit: https://github.com/ezsystems/StudioUIBundle/pull/530/commits/915e2ebe2c6086c160d347762ddd6d630b3765fd
          Commit hash: 915e2ebe2c6086c160d347762ddd6d630b3765fd

          Commit patches should be applied in order: b2408e75a7383fba8d55b3a3b72f21115633a24e first and then 915e2ebe2c6086c160d347762ddd6d630b3765fd

          Show
          Sławomir Uchto added a comment - - edited There are two Pull Requests that fix this issue, both required. Pull Request: https://github.com/ezsystems/StudioUIBundle/pull/528 Commit: https://github.com/ezsystems/StudioUIBundle/pull/528/commits/b2408e75a7383fba8d55b3a3b72f21115633a24e Commit hash: b2408e75a7383fba8d55b3a3b72f21115633a24e Pull Request: https://github.com/ezsystems/StudioUIBundle/pull/530 Commit: https://github.com/ezsystems/StudioUIBundle/pull/530/commits/915e2ebe2c6086c160d347762ddd6d630b3765fd Commit hash: 915e2ebe2c6086c160d347762ddd6d630b3765fd Commit patches should be applied in order: b2408e75a7383fba8d55b3a3b72f21115633a24e first and then 915e2ebe2c6086c160d347762ddd6d630b3765fd
          Hide
          Michał Szołtysek added a comment -

          QA Approved with studio v1.2.2.

          Show
          Michał Szołtysek added a comment - QA Approved with studio v1.2.2.

            People

            • Assignee:
              Unassigned
              Reporter:
              Joaquim Cavalleri (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: