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

Clean up of a contentclass is not done when you remove a language.

    XMLWordPrintable

Details

    Description

      When you have several languages on the site and content classes that exists with more than one language, you will get some problems if you delete a language.

      Steps to reproduce

      Tested with a standard eZ Publish installation 3.9+

      • Log in to the admin interface.
      • Check that you have more than one language listed in the language list (/content/translations) that does not have any objects.
      • Go to the view of a class (ex: /class/view/16)
      • Edit and select "Another language" and select the language that do not have any objects.
      • Go back to the language list and remove a language.
      • Now, go back to the class list and try to edit the content class you changed previously and you'll get a error message:
      ( ! ) Fatal error: Call to a member function on a non-object in /var/www/ez392/kernel/classes/ezcontentclassnamelist.php on line 71
      

      Attachments

        Activity

          People

            dp dp
            br br
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: