500 error when Drupal plugin tries to send html to non-"file" version
Description
Environment
None
Activity
Show:
Details
Details
Assignee
Unassigned
UnassignedReporter
Former user
Former user(Deactivated)Tested Version/s
None
Components
Affects versions
Priority

More fields
Time tracking
More fields
Time trackingCreated 27 July 2016 at 06:03
Updated 27 July 2016 at 06:04
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.