Closed (fixed)
Project:
Diff
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Apr 2016 at 07:07 UTC
Updated:
29 Jul 2016 at 14:14 UTC
Jump to comment: Most recent, Most recent file
For the revisions overview, vids are filtered by translation and whether the translation is affected. This filter is missing for the revisions navigation (Next/Previous difference). As a result, revision diffs of other languages can be opened through the navigation without noticing it.
Filter the list of vids within the NodeRevisionController before buildRevisionsNavigation is called.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | wrong_revisions-2708215-12.patch | 6.74 KB | johnchque |
| #12 | interdiff-2708215-9-12.txt | 1.88 KB | johnchque |
| #12 | wrong_revisions-2708215-12-test-only.patch | 4.51 KB | johnchque |
| #9 | wrong_revisions-2708215-9.patch | 5.21 KB | johnchque |
| #9 | wrong_revisions-2708215-9-test-only.patch | 2.98 KB | johnchque |
Comments
Comment #2
juliaschwarz commentedComment #4
juliaschwarz commentedArgh, I forgot to add the LanguageInterface.
Comment #5
miro_dietikerAlso this needs tests.
Comment #6
johnchqueLet's add tests for this. :)
Comment #7
johnchqueTests added. Interdiff = test only. :)
Comment #9
johnchqueDiscussed, now using a core fix for the language. :)
Comment #11
miro_dietikerYeah looks good.
Best would be to additionally test the language neutral situation.. Similar to how core does it.
Comment #12
johnchqueAdded test for the undefined language case. :)
Comment #15
miro_dietikerGreat. Committing.
Please add references to the similar core / entity issues. :-)
Comment #16
johnchqueThe changes were considered based on this issue: #2713587: NodeController::revisionOverview() shows no revisions if node has no translation for current language
Comment #17
miro_dietiker