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

Incorrect link generated for article in other language

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.8.0-rc1
    • 1.7.0
    • Studio UI
    • None
    • affects 1.7.1-rc1

    Description

      Incorrect link generated for article in other language.

      Prereq.: Preprare Studio clean installation with tag 1.7.0.

      Steps:
      1. In Admin panel add new language e.g. 'en'.
      2. Add it as second language to the default siteaccess:
      site:
      languages:
      - eng-GB
      - en
      3. Clear sever cache.
      4. Clear browser cache.
      5. Go to Content / Content structure.
      6. Click Create.
      7. Choose Article.
      8. Switch language to 'en'.
      9. Fill mandatory fields.
      10. Publish.
      11. Go to Page.
      Actual: "Cannot load content data" error occurs, link with 'eng-GB' is used (screenshot 1)
      Expected: Studio loads w/o errors, link with 'en' is used.

      Flow 2:
      1. In Admin panel add new language e.g. 'en'. (redundant after flow 1)
      2. Add it as first language to the default siteaccess:
      site:
      languages:
      - en
      - eng-GB
      3. Clear sever cache.
      4. Clear browser cache.
      5. Go to Content / Content structure.
      6. Click Create. (article from flow 1 can be used)
      7. Choose Article.
      8. Switch language to 'en'.
      9. Fill mandatory fields.
      10. Publish.
      11. Go to Page.
      12. Go to Content.
      Actual: "Failed to load the content /api/ezp/v2/content/objects/58" error occurs, link with 'eng-GB' is used (screenshot 2)
      Expected: Platform loads w/o errors, link with 'en' is used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: