Skip typeahead proxy data sources in the typeahead modular data source controller
Summary:
These data sources require another data source to function,
but PhabricatorTypeaheadModularDatasourceController does not support
specifying that. Treat them as non-existing, so that hapless callers
of requests to
/typeahead/class/PhabricatorCustomFieldApplicationSearchDatasource/
don't get confronted with a confusing error message.
Ref T16143
Test Plan:
* Visit http://phorge.localhost/typeahead/class/PhabricatorCustomFieldApplicationSearchDatasource/
and observe behaviour before and after applying this change. Previously
`Configured datasource class "" must be a valid subclass of "PhabricatorTypeaheadDatasource".` was
shown, now a regular 404 is visible.
* Go to http://phorge.localhost/maniphest/query/advanced/, see that typeahead proposals are still shown for any of the datasource fields, click magnifier button, "Browse" dialogs still come up and project can be selected, run a search and expected results are shown
Reviewers: O1 Blessed Committers, aklapper
Reviewed By: O1 Blessed Committers, aklapper
Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T16143
Differential Revision: https://we.phorge.it/D26131