Page MenuHomePhabricator

EntityUsage not cleaned up when deleting pages in client
Closed, ResolvedPublic

Description

when i delete a page in the client, the usages do not appear to be deleted.

then when i restore the page, and run jobs, I get:

Wikibase\Lib\Store\StorageException: No page found for ID 1312

since the restored page gets a new id, instead of the previous id.

Event Timeline

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

Change 185555 had a related patch set uploaded (by Daniel Kinzler):
Update wbc_entity_usage upon page deletion.

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

Patch-For-Review

Change 185555 merged by jenkins-bot:
Update wbc_entity_usage upon page deletion.

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

Tobi_WMDE_SW claimed this task.

Change 185983 had a related patch set uploaded (by JanZerebecki):
Update wbc_entity_usage upon page deletion.

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

Patch-For-Review

Change 185983 merged by jenkins-bot:
Update wbc_entity_usage upon page deletion.

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