You are here: Foswiki>Tasks Web>Item14002 (31 Jan 2018, GeorgeClark)Edit Attach

Item14002: github hook automation failing with "1 is not a Boolean"

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Web Site
Component: WebSiteTasks
Branches: master Item13897 Item14380 Item14537
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
The git integration script is reporting


Invalid request.

For 'properties/active', "1" is not a boolean. at /home/git/foswiki-github-hooks.pl line 258.
WebFontsContrib settings updated
Verifying hooks for WebFontsContrib
 Repo WebFontsContrib HOOK email MISSING

-- GeorgeClark - 01 Mar 2016

Commented out the 'active' property, and it seems to work. I'm suspecting this as a bug in the github API. We didn't change anything and it's been working this way for a couple of years now.

-- GeorgeClark - 01 Mar 2016

MichaelDaum pointed out the fix. CPAN:JSON exports variables JSON::true which resolves the issue.

-- GeorgeClark - 01 Mar 2016
 
Topic revision: r5 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy