FIX: Reset preProcessorStatus state correctly for composer-upload-uppy (PR #14111)

When resetting the preprocessor status states, we weren’t using the same default state as when the preprocessor status state is first initialized with an associated plugin. This commit brings the two into alignment, fixing a bug where if you cancelled an upload then tried a new one the “Processing Upload” message would never change to “Uploading… X”, so any subsequent uploads were uncancellable.

Since the state was not being reset correctly, the properties that were supposed to be numbers ended up as undefined, so when calling prop-- or prop++, they turned into NaN.

See:

GitHub