Page MenuHomePhabricator

"Call to undefined method" error due to using setFilterPHIDs instead of withFilterPHIDs
Closed, ResolvedPublic

Description

I have Phabricator installation that use WikiMedia Sprint extension, but with the newer version of Phabricator it gives an error.
The error is on /project/sprint/ page, if you click on a sprint name you get:

>>> UNRECOVERABLE FATAL ERROR <<<
Call to undefined method PhabricatorFeedQuery::setFilterPHIDs()
/phabricator/libext/Sprint/src/controller/SprintProjectProfileController.php:79
┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

From what I read here and on MediaWiki project management wiki entries, I do not understand if this extension is still supported or I have to migrate to other tools: I think this should be stated clearly in the descriptions/download pages (e.g. initial README.md page) in case.

Revisions and Commits

rPHSP phabricator-Sprint
Restricted Differential Revision

Event Timeline

This was broken since May 26 with this commit:
https://github.com/phacility/phabricator/commit/2d79229083437a10bb16c4eb8bff393506f9c887#diff-1706b31ede02b2d136153ad54da8e348L9

easy fix. change setFilterPHIDs to withFilterPHIDs ...

I do not maintain this extension anymore, so someone else will have to push the change.

Aklapper renamed this task from Sprint extension error on newer Phabricator to "Call to undefined method" error due to using setFilterPHIDs instead of withFilterPHIDs.Oct 3 2017, 9:26 AM

It's a pity to lose such a nice and easy to install and use extension without a proper alternative.

Who can push the change?

JeanFred added a revision: Restricted Differential Revision.Nov 10 2017, 2:04 PM

I had a go at deploying this extension on my local install, so I thought I’d fix that bug. To be clear, I’m not volunteering to be a maintainer ;-)

mmodell claimed this task.
mmodell subscribed.

Thanks for submitting the fix for this one, @JeanFred! Your patch is deployed, seems to have resolved the problem.