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.
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.