Hi,

I'm getting this error when trying to save this module's configuration.

Also under "CloudFlare API URL" it says "Enter the URL for CloudFlare's API, clear the field to use the default URL." but if I clear that field and save, I get "CloudFlare API URL field is required." :)

So how to solve this?

Thank you!

Comments

gge created an issue. See original summary.

jh3’s picture

Version: 7.x-1.x-dev » 7.x-1.2
Assigned: Unassigned » jh3
jh3’s picture

StatusFileSize
new727 bytes

The description of the API URL field really shouldn't say "clear the field". After enabling the module and visiting /admin/config/development/performance/cfpurge, you'll see the default API URL in the textfield.

Clearing the field won't work because it's required. There is also a validation handler checking for a valid URL.

The attached patch changes the description of the API URL textfield. Everything else is working as it should.

jh3’s picture

Status: Active » Needs review
jh3’s picture

StatusFileSize
new724 bytes

Created a new patch based off of 7.x-1.3.

Status: Needs review » Needs work

The last submitted patch, 5: api-url-error-2706149-5.patch, failed testing.

jh3’s picture

Version: 7.x-1.2 » 7.x-1.3
jh3’s picture

Status: Needs work » Fixed

This has been taken care of in the 7.x-1.35 release

jh3’s picture

Status: Fixed » Closed (fixed)