Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 251
    • Issues 251
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 34
    • Merge Requests 34
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #770

Closed
Open
Opened 1 week ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

ImagickException: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504

Sentry Issue: ENGINE-T

ImagickException: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504
  File "/Core/Media/Imagick/Manager.php", line 60, in Imagick::__construct
    $this->image = new \Imagick($value);
  File "/Core/Media/Imagick/Manager.php", line 60, in Minds\Core\Media\Imagick\Manager::setImage
    $this->image = new \Imagick($value);
  File "/Controllers/api/v1/blog.php", line 330, in Minds\Controllers\api\v1\blog::post
    $manager->setImage($_FILES['file']['tmp_name'])
  File "/Api/Factory.php", line 69, in Minds\Api\Factory::build
    return $handler->$method($pages);
  File "/Controllers/api/api.php", line 81, in Minds\Controllers\api\api::post
    return Factory::build($pages, $this->request, $this->response);
...
(2 additional frame(s) were not displayed)

Type::Bug

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    Related merge requests
    1
    • Opened 2 hours ago
      Sep 4, 2019 1:42pm GMT+0000
      (fix) Handle ImagickException in blog api where an invalid image file is passed - #770
      Opened 2 hours ago
      Sep 4, 2019 1:42pm GMT+0000
      !313
    • Discussion 9
    • Designs 0
    • Mark Harding @markeharding added Priority::1 - High scoped label 1 week ago

      added Priority::1 - High scoped label

    • Mark Harding @markeharding added Type::Bug scoped label 1 week ago

      added Type::Bug scoped label

    • Mark Harding @markeharding assigned to @gthouret 1 week ago

      assigned to @gthouret

    • Mark Harding @markeharding changed milestone to %sprint: Lucky Lizard 1 week ago

      changed milestone to %sprint: Lucky Lizard

    • Mark Harding @markeharding changed weight to 5 1 week ago

      changed weight to 5

    • Guy Thouret
      Guy Thouret @gthouret · 3 hours ago
      Developer

      Recreated the issue by uploading a 0 byte image file for a blog banner.

      Should be easy to solve by throwing an exception for an invalid file if its zero bytes.

    • Guy Thouret @gthouret mentioned in commit 705b5529 2 hours ago

      mentioned in commit 705b5529

    • Guy Thouret @gthouret added Status::Review scoped label 2 hours ago

      added Status::Review scoped label

    • Guy Thouret @gthouret mentioned in merge request !313 2 hours ago

      mentioned in merge request !313

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    Assignee
    Guy Thouret's avatar
    Guy Thouret @gthouret
    Assign to
    none
    Epic
    None
    sprint: Lucky Lizard
    Milestone
    sprint: Lucky Lizard
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    3
    Labels
    Priority::1 - High Status::Review Type::Bug
    Assign labels
    • View project labels
    5
    Weight
    5
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Guy Thouret
    user avatar
    Mark Harding
    Reference: minds/engine#770