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

Unable to add translation to content with multiple locations using a user with has limitation subtree to one of then

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce

      1. Install Ibexa DXP
      2. Add 2 languages e.g. French and German
      3. Create two folders (and name them French and German)
      4. Add site accesses to yaml with configured tree_root:
      french:
          languages: [fre-FR]
          content:
              tree_root:
                  location_id: 127
      german:
          languages: [ger-DE]
          content:
              tree_root:
                  location_id: 128 
      1. Edit Landing Page Content Type and change flag always available to false
      2. In the folder named French add a landing page
      3. to the added landing page, add a new location pointing to the German folder
      4. Create the role
      5. Create a user and assign the user to the added role
      6. Log in to the added user
      7. Try to add translation to the added content in the german folder

       

      Result

      An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '140'"). 

       

      Expected result

      the user should be able to add a translation to the content, especially since already-added translations can be edited without any problems

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: