Problem/Motivation
when I deleting a translate node, and create a new translate node again, the translation node revison will load a original language revison in the revision list.
Steps to reproduce
1、Create a english node and save as Needs Review
2、Translate to a japanese node and save as Needs Review too
3、Delete the japanese node
4、Translate to a japanese node and save as Needs Review again
5、Check reversion of japanese node

Proposed resolution
Hide the original language node revision on the translation node revison list.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
connbi commentedI create a patch to fix this issue, add a judgement logic when build the form data.
Comment #3
connbi commentedComment #4
connbi commentedModify the judgement logic of current revision.
Comment #5
randy tang commented1、Go to admin/config/workflow/workflows/manage
2、Update "Content types" in "THIS WORKFLOW APPLIES TO:" and Uncheck "one content type"
3、Save the changes
4、Create a "one content type" page
5、Fill in necessary fields and saved
6、Edit "one content type" page and Click Revisions tab
It will prompt Error: Call to a member function hasTranslation() on null in Drupal\diff\Form\RevisionOverviewForm->buildForm() (line 215 of modules/contrib/diff/src/Form/RevisionOverviewForm.php).
Comment #6
randy tang commentedPatch misses getting reversion translations
Comment #7
connbi commentedNew patch for 2.0.0-beta3
Comment #8
otofu commentedNew patch for 8.x-1.8
Comment #11
zaryab_drupal commentedCreated MR for #8 please test.
Comment #12
zaryab_drupal commentedComment #13
acbramley commentedMR has conflicts.