Problem/Motivation

If I save the Search API Attachments configuration form, Tika could not be reached and executed.

This appears, because the test file object is not being created correctly and therefor the file is not stored in the public files folder as a temporary file.

However, it worked on some of our systems without this change. But others did not. After I added the missing keys, which define the file object as a temporary file and set the filename, I was able to process the configuration form.

Steps to reproduce

Use the latest version from Search Api Attachments and try to save the configuration form.

Proposed resolution

Add the missing keys to the file object.

See attached patch.

CommentFileSizeAuthor
file-missing-keys.patch819 bytesjepster_
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

peter majmesku created an issue. See original summary.

izus’s picture

thanks for this

  • 3203be5d committed on 9.0.x
    Issue #3484135 by peter majmesku, izus: Missing keys for file object in...
izus’s picture

Status: Active » Fixed

merged

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.