Problem/Motivation
There is an edge case when we upload a document that has manual upload. After editing, if we have requested a translation, and then update it, we are marking the target statuses that were not downloaded as available for request. But if it was already requested, we cannot move forward with the links themselves.
Proposed resolution
When a target status is PENDING, we should never update it to REQUEST.
Remaining tasks
Create a patch with a failing test + fix
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2820142-2.should-fail.patch | 2.78 KB | penyaskito |
| #3 | 2820142-3.should-fail.patch | 8.6 KB | penyaskito |
| #4 | 2820142-4.only-tests.patch | 8.6 KB | penyaskito |
| #4 | 2820142-4.patch | 12.65 KB | penyaskito |
Comments
Comment #2
penyaskitoA failing test.
Comment #3
penyaskitoFailing tests for content, config, fields and config entities.
Comment #4
penyaskitoAdded fix + tests.
Comment #14
penyaskitoTests passed and failed as expected.
Comment #16
penyaskitoCommitted cfc6b17 and pushed to 8.x-1.x. Thanks!