Page MenuHomePhabricator

Odd behaviour when editing qualifier property type but not value
Closed, ResolvedPublic

Description

Acceptance criteria:

  • go to a File page that has a statement with qualifiers (e.g. https://commons.wikimedia.beta.wmflabs.org/wiki/File:Photo_on_20-06-2019_at_12.36.jpg)
  • click 'edit' on structured data panel showing the statement with its qualifiers
  • change one of the qualifiers so that its property has a different type (e.g. if the property has type entity change it to one with type quantity, or vice versa) - but don't change the value
  • click 'submit'
  • verify that the qualifier has been deleted (because it had no value)
  • verify that the statement panel can again be edited

QA Results

ACStatusDetails
1T226181#5348053
2T226181#5348053

Event Timeline

Change 518243 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Separate property & value formatting

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

Change 518244 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Fix handling

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

Ramsey-WMF moved this task from Untriaged to Next up on the Multimedia board.

Change 518243 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Separate property & value formatting

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

Change 518244 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Fix data handling

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

matthiasmullie updated the task description. (Show Details)
matthiasmullie subscribed.
Edtadros subscribed.

Test Result

Status: ❌ FAIL
OS: macOS Mojave
Browser: Chrome
Device: MBP

Test Artifact(s):

QA Steps
  1. go to a File page that has a statement with qualifiers (e.g. https://commons.wikimedia.beta.wmflabs.org/wiki/File:Photo_on_20-06-2019_at_12.36.jpg)
  2. click 'edit' on structured data panel showing the statement with its qualifiers
  3. change one of the qualifiers so that its property has a different type (e.g. if the property has type entity change it to one with type quantity, or vice versa) - but don't change the value
  4. click 'submit'

✅ AC1: erify that the qualifier has been deleted (because it had no value)

T226181.gif (430×952 px, 1 MB)

❌ AC2: verify that the statement panel can again be edited

@matthiasmullie AC2 is partially satisfied, however at about 28 seconds into the video (I've attached an mp4 so that you can scroll to the 28 second mark) you see that the auto suggestion for qualifiers stops working. If the page is reloaded it will start working again.