500 error when Drupal plugin tries to send html to non-"file" version

Description

The new html segmentation option in the Drupal plugin assumes the version has projectType "file" and sends some content as html files. When this happens, the server responds with a 500 error, and the Drupal plugin reports errors for the HTML files but still reports success for the job overall.

  • The server should respond with a more suitable error code and an informative error message when someone tries to upload files to non-files projects.

  • The Drupal plugin should report failure for the job overall since not all files could be sent.

Environment

None

Assignee

Unassigned

Reporter

David Mason

Labels

None

Tested Version/s

None

Components

Affects versions

Priority

unspecified
Configure