Adding public response for anyone that finds it useful.
The problem was coming from a field inside a Slice, in the JSON the display value, instead of being list
is written with uppercase: List
.
The solution would be to go to your Custom type JSON and search, inside the slices for this error. For example, in the Custom type that has the Slice “edito_texte_visuel”, change the display value, like so:
"edito_texte_visuel" : {
"type" : "Slice",
"display" : "list",
"fieldset" : "Édito texte visuel",
"description" : "Titre + groupes de (sous-titre + bloc de texte + image)",
"icon" : "art_track",
"non-repeat" : {
"couleur_bloc" : {
"type" : "Select",
"config" : {
"options" : [ "Bleu aplat", "Bleu negatif", "Bleu fonce aplat", "Bleu fonce negatif", "Jaune aplat", "Jaune negatif", "Rouge aplat", "Rouge negatif", "Turquoise aplat", "Turquoise negatif", "Vert aplat", "Vert negatif" ],
"default_value" : "Bleu aplat",
"label" : "Couleur du bloc"
}
},
"titre" : {
"type" : "StructuredText",
"config" : {
"multi" : "em",
"label" : "titre"
}
}
},
"repeat" : {
"sous_titre" : {
"type" : "StructuredText",
"config" : {
"multi" : "em",
"label" : "Sous-titre"
}
},
"texte" : {
"type" : "StructuredText",
"config" : {
"multi" : "paragraph",
"label" : "Texte"
}
},
"illustration" : {
"type" : "Image",
"config" : {
"label" : "Illustration"
}
}
}
},