Page MenuHomePhabricator

Investigation: "other languages" box shows older revision unless one purges page
Closed, ResolvedPublic

Assigned To
Authored By
aude
Feb 26 2015, 5:39 PM
Referenced Files
F103942: pasted_file
Mar 25 2015, 7:16 AM
F47895: pasted_file
Feb 26 2015, 5:39 PM
F47888: pasted_file
Feb 26 2015, 5:39 PM
F47890: pasted_file
Feb 26 2015, 5:39 PM
F47892: pasted_file
Feb 26 2015, 5:39 PM

Description

this happens on wikidata, as well as master.

  1. I have an item with spanish description "Film von Diao Yinan (2014)"

pasted_file (630×973 px, 118 KB)

  1. edit the description to remove the year

pasted_file (605×956 px, 149 KB)

  1. click save
  1. undo the edit (thus re-adding the year to the spanish description)

pasted_file (456×1 px, 58 KB)

  1. I am back on the item page, but the spanish description shows the previous version before undo. (e.g. no year)

pasted_file (556×941 px, 102 KB)

If I click edit, then it shows the correct version.

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude subscribed.

if i reload the page, like http://wikidata-repo/wiki/Q139?g it is still wrong.

the problem appears confined to the "other languages" / term box. If I edit then undo the english description (my user language), it shows correctly above the term box but wrong in the term box.

if i undo a site link or statement edit, also no problem.

purge the page and i see the correct description

Lydia_Pintscher added a subscriber: daniel.
Lydia_Pintscher subscribed.

this still happens on master

here I simply added a label for english:

pasted_file (576×970 px, 83 KB)

the label does not show in the term box but is displayed in the h1 element.

as we suspected, the term box is using older revision.

aude renamed this task from After I undo a description in the "term" box, the item page shows version of description before undo to "other languages" box shows older revision unless one purges page.Apr 1 2015, 10:51 AM
aude set Security to None.

seems to happen always, and not just for undo

Tobi_WMDE_SW renamed this task from "other languages" box shows older revision unless one purges page to Investigation: "other languages" box shows older revision unless one purges page.Apr 7 2015, 1:32 PM

Change 202466 had a related patch set uploaded (by Aude):
Fix revision id used for EntityTermsView placeholder

https://gerrit.wikimedia.org/r/202466

Change 202723 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Un-deprecate $revisionId = 0 in EntityRevisionLookup

https://gerrit.wikimedia.org/r/202723

Change 203045 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
[DNM] Disallow EntityRevision to represent current revision

https://gerrit.wikimedia.org/r/203045

Change 202466 merged by jenkins-bot:
Fix revision id used for EntityTermsView placeholder

https://gerrit.wikimedia.org/r/202466

Change 203045 abandoned by Thiemo Mättig (WMDE):
[DNM] Disallow EntityRevision to represent current revision

https://gerrit.wikimedia.org/r/203045

Change 202723 abandoned by Thiemo Mättig (WMDE):
Un-deprecate $revisionId = 0 in EntityRevisionLookup

https://gerrit.wikimedia.org/r/202723