Project

General

Profile

Actions

Bug #72

closed

Default test failed

Added by liaham over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/15/2020
Due date:
11/16/2020
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.
convert-im6.q16: no images defined `png:/home/developer/redmine/tmp/thumbnails/da9c52e79d9eee7d47b9ee5db477985c542ea683e9f23ed32db55e35ef99c479_31620_100.thumb' @ error/convert.c/ConvertImageCommand/3258.

1) Error:
AttachmentTest#test_thumbnail_should_generate_the_thumbnail:
TypeError: no implicit conversion of nil into String
test/unit/attachment_test.rb:468:in `basename'
test/unit/attachment_test.rb:468:in `block (2 levels) in test_thumbnail_should_generate_the_thumbnail'
test/unit/attachment_test.rb:465:in `each'
test/unit/attachment_test.rb:465:in `block in test_thumbnail_should_generate_the_thumbnail'
test/unit/attachment_test.rb:464:in `test_thumbnail_should_generate_the_thumbnail'
2) Failure:
AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png [/var/lib/jenkins/workspace/test_touchstone/redmine/test/functional/attachments_controller_test.rb:480]:
Expected response to be a <2XX: success>, but was a <404: Not Found>
Response body: 

4637 runs, 19657 assertions, 1 failures, 1 errors, 7 skips
Actions #1

Updated by liaham over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

The ImageMagick policy.xml file has had an entry for not allowing PDF conversion.

Actions

Also available in: Atom PDF