codevise / pageflow-linkmap-page

Hotspot page type
0 stars 7 forks source link

Make processing jobs wait for prerequisites #62

Closed tf closed 5 years ago

tf commented 5 years ago

Instead of creating color map and masked images only after their prerequisites (i.e. source image files, color map files of masked image files) are ready, add pending result to ProcessSourceImageFileJob which causes job to be retried after a few seconds.

This simplifies editor js code and handles a formerly missing case that the source image file has not finished uploading yet. (REDMINE-16880)

This will also simplify processing files when importing a revision (REDMINE-16810) since the order in which files are processed does not matter.