Page MenuHomePhabricator

Undefined property notice in querypages API
Closed, ResolvedPublic

Description

Notice: Undefined property: stdClass::$value in includes/api/ApiQueryQueryPage.php on line 118
Upon visiting api.php?action=query&list=querypage&qppage=BrokenRedirects with a non-empty result set


Version: 1.20.x
Severity: normal

Details

Reference
bz31759
TitleReferenceAuthorSource BranchDest Branch
* The dictionary of users created from various package filesrepos/security/wikimedia-code-health-check!14sbassettT337593-small-staff-support-bugmain
Basic README updatesrepos/security/wikimedia-code-health-check!12sbassettT337593-update-readmemain
Implemented language guidelines health checkrepos/security/wikimedia-code-health-check!11sbassettT337593-lang-guidelines-implmain
Implemented phab/bug-tracker-based health checksrepos/security/wikimedia-code-health-check!10sbassettT337593-phab-bugs-and-code-stew-implmain
Implemented staff support health checkrepos/security/wikimedia-code-health-check!9sbassettT337593-staff-support-metrics-implmain
Implement non-auto cmts, contrib conc and uniq contribs checksrepos/security/wikimedia-code-health-check!8sbassettT337593-non-auto-commits-implmain
Implemented package management checksrepos/security/wikimedia-code-health-check!7sbassettT337593-pkg-mgmt-config-implmain
Implemented test coverage checksrepos/security/wikimedia-code-health-check!6sbassettT337593-code-cov-implmain
Implemented static analysis health checkrepos/security/wikimedia-code-health-check!5sbassettT337593-sast-implmain
Added vulnerable package checkrepos/security/wikimedia-code-health-check!4sbassettT337593-vulnerable-packages-impl-2main
Implemented git cloning functionality and testsrepos/security/wikimedia-code-health-check!3sbassettT337593-git-cloning-workmain
More scaffolding work + basic repo searchrepos/security/wikimedia-code-health-check!2sbassettT337593-more-scaffolding-workmain
Basic python repo setup (will likely change, and that's fine)repos/security/wikimedia-code-health-check!1sbassettT337593-initial-repo-setupmain
Show related patches Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:52 PM
bzimport set Reference to bz31759.
bzimport added a subscriber: Unknown Object (MLST).

BrokenRedirects, DoubleRedirects and Listredirects all have the same issue, which is just them not setting anything for the value.

Which means the API isn't to blame...

Per the querypage documentation, the modules themselves are at fault

  • Note that the query itself should return the following three columns:
  • 'namespace', 'title', and 'value'. 'value' is used for sorting.
	 *