Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31508

Unable to change main translation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.0.0-rc1
    • 3.0.0-beta6
    • None

    Description

      It's not possible to change main language of a Content Item because of strict types.

      Setup:
      1. Add a new Language: Polski (pol-PL) in admin panel
      2. Set up admin_group to use pol-PL lanuage (in ezplatform.yaml)

      Steps to reproduce:
      1. Login as admin
      2. Go to Content -> Content Structure
      3. Create a new Folder and publish it
      4. Translate it into polish language
      5. Switch to "Translations" tab and select polish translation as the main one

      Expected:
      Main translation is changed

      Actual:
      Exception:

      Argument 1 passed to eZ\Publish\Core\Repository\SiteAccessAware\ContentService::loadContent() must be of the type int, string given, called in /Users/mareknocon/Desktop/Sites/v3/vendor/ezsystems/ezplatform-admin-ui/src/lib/Form/DataTransformer/ContentTransformer.php on line 70
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: