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

getAvailableLanguages() returns null

    XMLWordPrintable

    Details

      Description

      Found while implementing EZP-23546
      See https://github.com/ezsystems/DemoBundle/pull/135 for context

      If you have only one language installed (for example eng) and all the default setting after running the wizard, $translationHelper->getAvailableLanguages() will return:

      array (size=2)
        0 => null
        1 => string 'eng-GB' (length=6)
      

      the null value shouldn't be there.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              yannick.roger-obsolete@ez.no Yannick Roger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: