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

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 16.02
    • Fix Version/s: Customer request, 1.3.0
    • Component/s: Documentation
    • Labels:
      None
    • Environment:

      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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vangenplotz 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