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

Editing content types when default siteaccess only uses nor-NO as language

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request, 1.3.0
    • 16.02
    • Documentation
    • None
    • ezsystems/ezstudio 16.02 (v1.2.2)

    Description

      If the default siteaccess only has nor-NO as language you can’t edit content classes in the backend.

      http://site/ez#/admin/pjax%2Fcontenttype%2Fgroup%2F1

      The content types is listed without a name and when I try to edit the folder type I get his error message:

      Key "nor-NO" for array with keys "eng-GB" does not exist in EzSystemsRepositoryFormsBundle:ContentType:field_definition_row.html.twig at line 6

      Steps to reproduce.
      • install ezstudio 16.02 with default configuration
      • edit ezplatform.yml and comment all languages from system|site, leaving nor-NO as the only one enabled
      • attempt to edit any content type (folder, for instance)
        => Operation will fail with
        Key "nor-NO" for array with keys "eng-GB" does not exist in EzSystemsRepositoryFormsBundle:ContentType:field_definition_row.html.twig at line 6 error

      Attachments

        Activity

          People

            Unassigned Unassigned
            9d6da226-51aa-41ae-b7e9-56ec320d5ebe@accounts.ibexa.co Vangen Plotz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m