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

Unable to change main translation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta6
    • Fix Version/s: 3.0.0-rc1
    • Component/s: None
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            marek.nocon@ez.no Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: