Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-8298

Cannot use image editor with image & image asset

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.6.6
    • 4.6.x-dev, 5.0.x-dev
    • None

    Description

      Cannot use image editor with image & image asset.

      Steps:

      1. Use Ibexa DXP 4.6 or 5.0.
      2. Create image asset CT (ezstring, ezimageasset)
      3. Create image item.
      4. Create image asset item, use select from repository and image from previous step.
      5. Edit image asset.
      6. Open image editor.
      7. Flip image.
      8. Use Save as / apply changes to all.

      Actual result: Internal Server Error in UI, exception occurs in log:

      [2024-05-15T14:58:02.945220+02:00] php.CRITICAL: Uncaught Error: Class "quality" not found {"exception":"[object] (Error(code: 0): Class \"quality\" not found at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php:21)"} []
      [2024-05-15T14:58:05.453251+02:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "quality" from the global namespace. Did you forget a "use" statement?" at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php line 21 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"quality\" from the global namespace.\nDid you forget a \"use\" statem
      ent? at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php:21)"} []
      

      Remarks: Shorter flow can be used with image CT, using image editor and publishing.

      Designs

        Attachments

          1. IBX-8298 1.png
            IBX-8298 1.png
            302 kB
          2. IBX-8298 2.png
            IBX-8298 2.png
            45 kB
          3. IBX-8298 3.png
            IBX-8298 3.png
            162 kB

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: