Getting error when opening Guillotine playground

Enonic version: 7.11.3
OS: Windows

I installed Guillotine from marketplace and get this error in the playground. Whats wrong? I can excute queries without any errors

So you simply installed the app and nothing else? Are you getting the same error(s) on any content project?

Yes, I just installed it from Applications. Get the same error on all projects. No errors in the console or server log

Could you please share with us which error you got in your terminal?

Guillotine does not have any Enum with values true.
That can happened if some content-type from your installed applications has option-set with this value.

There are no errors anywhere. When the app installed there were lots of these warnings:

(/lib/guillotine/dynamic/form.js) Unknown input type [Checkbox]. Using String as GraphQL type

This warning says that in your content type there is an input type with type=“Checkbox”, but correct name is “CheckBox” (see here). In this case for a GraphQL field String scalar will be used instead of Boolean.

So, I suggest to check content types from installed applications in your XP instance. And I am pretty sure that you will be able to find it in a content type which contains an option set. If you find anything, please send us content type schema so that we could reproduce it locally.

Might this be the offending config?

<?xml version="1.0" encoding="UTF-8"?>
    <option-set name="showInMenu">
      <label>Vis i menyen</label>
      <occurrences minimum="1" maximum="1"/>
      <options minimum="1" maximum="1">
        <option name="true">
            <input type="TextLine" name="menuName">
              <label>Overstyr navn i menyen</label>
              <help-text>Overstyr navn som vises i menyen. Ikke påkrevd.</help-text>
              <occurrences minimum="0" maximum="1"/>
            <input type="ComboBox" name="position">
              <occurrences minimum="0" maximum="1" />
                <option value="default">Hovedmeny</option>
                <option value="support">Støttemeny</option>
                <option value="breadcrumbOnly">Kun i brødsmulesti</option>
        <option name="false">
    <input name="disableBreadcrumbs" type="Checkbox">
      <label>Fjern brødsmulesti</label>
      <occurrences maximum="1" minimum="1"/>

Yes, this mixin is a reason why you get the error. You are using reserved JavaScript words (“true” and “false”) for naming input types which breaks Guillotine.

Also, according to the documentation (Mixin schemas - Enonic Developer Portal) in your mixin definition items must be replaced with form.


Just a little tip here:

I have started adding the "urn:enonic:xp:model:1.0" namespace to all my XML , to get a little extra help to check that it’s valid.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mixin xmlns="urn:enonic:xp:model:1.0">
  <form />

It will then use this xsd to validate your XML-file:


– Tom Arild


The code was actually from an old xp6-branch. Github likes to use random branches during searching :smiley: