In Drupal 8.3.x this is a fatal when submitting devel config form.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaronbauman created an issue. See original summary.

AaronBauman’s picture

I didn't bother to figure out where where api_url is coming from, or if it's even necessary, but this patch fixes the fatal.

AaronBauman’s picture

Status: Active » Needs review
AaronBauman’s picture

Here's a test for the devel config form which totally disputes my original claim.
(See the final assertion.)
This test might be worth rolling into the module, even if the original patch isn't.

Very frustrating - still haven't figured out where the additional junk key "api_url" is coming from.

willzyx’s picture

Status: Needs review » Closed (cannot reproduce)

@aaronbauman thanks for reporting!
api_url was removed some time ago when devel was only in dev version. I think that the properly solution for your problem is reinstall the devel module and start from scratch with the new configuration.
As regards the test I really appreciate the fact that you submit it :) but IMHO every config settings should be tested contextually with the related functionality and I think that we already have test coverage for the config elements that you have tested (obviously not for api_url that is not more present in the code base).

Feel free to reopen this issue if you think that there is a better solution.

AaronBauman’s picture

OK, thank you for explaining.
I was pulling my hair out trying to find that config key!