Pennebaker / craft-architect

A plugin for importing and exporting content models from Craft 3/4 using JSON.
MIT License
72 stars 6 forks source link

Importing sections without a title label (but set to have no title label) errors out for having no label #26

Closed davecosec closed 5 years ago

spAnser commented 6 years ago

Do you have an example json for testing.

Also is this a error that causes a crash looking screen? Or just a red error in the output list.

Craft has some very specific ways it wants things to work. Did you include a title label in the json as an empty string or just leave it out entirely. Craft sometimes still wants the title label to exist even fi it is an empty string and Architect doesn't account for that.

I tried to not include to many basic fixes, like creating the empty string for you if you forgot it in the json, in the event that craft changes how things work.