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

    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

        Activity

        Hide
        Marcos Loureiro (Inactive) added a comment -
        Show
        Marcos Loureiro (Inactive) added a comment - The script can be seen in: https://gist.github.com/MLoureiro/75195dd9c0f4fc92d67d
        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        This is not related to the user but to ezimage field type it seems.

        Show
        Jérôme Vieilledent (Inactive) added a comment - This is not related to the user but to ezimage field type it seems.
        Show
        Jérôme Vieilledent (Inactive) added a comment - https://github.com/ezsystems/ezpublish-kernel/pull/278
        Show
        Jérôme Vieilledent (Inactive) added a comment - Fixed in master : https://github.com/ezsystems/ezpublish-kernel/commit/ee113cb6fcf931f370a9589d52755eba5e520cb0
        Hide
        Marcos Loureiro (Inactive) added a comment -

        QA Approved

        Show
        Marcos Loureiro (Inactive) added a comment - QA Approved
        Hide
        Marcos Loureiro (Inactive) added a comment -

        (tc-1513)

        Show
        Marcos Loureiro (Inactive) added a comment - (tc-1513)

          People

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