Page MenuHomePhabricator

Special:GlobalCollectGateway without any parameters throws an internal error
Closed, ResolvedPublic

Description

I realize that this is not a direct access point, but https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway currently throws an internal error with a backtrace.


Internal error

Requested an unavailable or non-existent form.

Backtrace:

#0 /srv/www/org/wikimedia/payments/extensions/DonationInterface/gateway_forms/RapidHtml.php(134): Gateway_Form_RapidHtml->set_html_file_path('default')
#1 /srv/www/org/wikimedia/payments/extensions/DonationInterface/gateway_common/GatewayForm.php(124): Gateway_Form_RapidHtml->__construct(Object(GlobalCollectAdapter))
#2 /srv/www/org/wikimedia/payments/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php(181): GatewayForm->displayForm()
#3 /srv/www/org/wikimedia/payments/includes/SpecialPageFactory.php(493): GlobalCollectGateway->execute(NULL)
#4 /srv/www/org/wikimedia/payments/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#5 /srv/www/org/wikimedia/payments/includes/Wiki.php(603): MediaWiki->performRequest()
#6 /srv/www/org/wikimedia/payments/includes/Wiki.php(513): MediaWiki->main()
#7 /srv/www/org/wikimedia/payments/index.php(58): MediaWiki->run()

#8 {main}

This is low priority, as it's unlikely that most people will hit this URL, but ideally there would be no frightening backtrace displayed and there would just be a standard error message here. Maybe it'd be nice to include a link to an actual donation form as well?


Version: wmf-deployment
Severity: minor
URL: https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway

Details

Reference
bz40961