Page MenuHomePhabricator

Image result received with missing data
Closed, ResolvedPublic


On a fresh install with new images, I received a batch of results with one result missing some data:

    "ns": 6,
    "title": "File:Foggy mountain with tree.jpg",
    "missing": true,
    "known": true,
    "imagerepository": "local",
    "imageinfo": [
            "thumburl": "",
            "thumbwidth": 555,
            "thumbheight": 720,
            "url": "",
            "descriptionurl": ""

The imagelabel and pageid properties are missing. This image was uploaded with all the others and the filepage exists, so I'm not sure what's different.

As discussed in Slack, I'm going to improve the logic in the JS a bit to make sure any results without all the necessary are removed before any UI is built for them.


Related Gerrit Patches:
mediawiki/extensions/MachineVision : masterFilter out images with missing data

Event Timeline

AnneT created this task.Nov 6 2019, 4:28 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 6 2019, 4:28 PM
AnneT claimed this task.Nov 6 2019, 5:10 PM

Change 549122 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/MachineVision@master] Filter out images with missing data

Change 549122 merged by jenkins-bot:
[mediawiki/extensions/MachineVision@master] Filter out images with missing data

AnneT moved this task from Backlog to Done on the MachineVision board.Nov 6 2019, 10:11 PM
Mholloway closed this task as Resolved.Nov 21 2019, 3:36 PM