Page MenuHomePhabricator

Constraint was removed from property but still displayed on Lexeme
Open, Needs TriagePublic

Description

The value requires statement constraint (Q21510864) on item for this sense was removed almost a month ago, but I still see a violation for it e. g. on L46038-S1. Purging the page didn't help.

Bug reported on 15.5. by user:Galaktos on Contact the dev team page

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 15 2019, 10:52 AM

The constraint is still in the wbqc_constraints table (Quarry). My best guess is that, when the constraints table update job ran (triggered by the edit removing the constraint), it fetched the property from a replica that hadn’t seen the constraint removal yet. Let’s try making that fetch from the master instead.

Change 510498 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Load property for update from master database

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

Change 510499 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Track revision ID in constraints update job

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