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

Public API - Creating an content with empty ezimage field will display error: eZImageManager::createImageAlias

    XMLWordPrintable

    Details

      Description

      Creating an user only with following fields:

      • login
      • password
      • email
      • first_name
      • last_name
        Will cause an error with the image.

      How to reproduce:
      1- Create an user with the Public API
      2- Login in "admin2"
      2.1- Active eZ Debug
      3- Open the just created user ( ex: <ezpublish-url>/Users/Editors/Test-User )
      4- Verify on eZ Debug that it shows an error: eZImageManager::createImageAlias

      On file "var/log/error.log":
      [ Feb 25 2013 10:39:27 ] [192.168.2.27] Timing Point: Module start 'content'
      [ Feb 25 2013 10:39:27 ] [192.168.2.27] eZImageManager::createImageAlias:
      The reference alias original file does not exist
      [ Feb 25 2013 10:39:27 ] [192.168.2.27] :
      Original alias does not exist, cannot create other aliases without it
      [ Feb 25 2013 10:39:27 ] [192.168.2.27] eZImageManager::createImageAlias:
      Failed creating the referenced alias reference, cannot create alias large

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marcos.loureiro@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 3 hours
                3h