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

Translating a Landing Page end up in 500 exception

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • Customer request
    • 2.5.25
    • Page Builder
    • None

    Description

      Adding a translation that is not based on the main language will result in

      ContextErrorException
      HTTP 500 Internal Server Error
      Notice: Trying to get property 'languageCode' of non-object
      

      Steps to reproduce
      1. Clean installation of eZ Platform EE v2.5.25
      2. Log in to the backoffice as the admin user and create a new language: German: ger-DE.
      3. Create and publish a test Landing Page in English.
      4. For the newly created Landing Page add a German translation, but in the modal, don't select "English" as a base translation.

      Result
      An exception is being thrown

      Expected result
      The translation is created normally.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: