lumeland / cms

A framework-agnostic CMS for Deno
https://lume.land/cms/
MIT License
71 stars 7 forks source link

cms@v0.7.0 - Create Posts "There was an error. See logs for more info." #33

Closed haturatu closed 2 days ago

haturatu commented 2 days ago

When trying to create a new post with version 0.7.0 or above, this error occurs.

"There was an error. See logs for more info." image

No error messages appear in the console. I’ve confirmed that it doesn’t happen with version 0.6.8. Is there any additional information I can provide, or are there any significant changes in version 0.7.0 or later?

oscarotero commented 2 days ago

Do you have any init callback in your cms configuration?

The signature has changed in 0.7.x: https://lume.land/cms/configuration/fields/#the-init-function

haturatu commented 2 days ago

ah, it was because I hadn’t updated my cms.collection.
https://github.com/lumeland/theme-simple-blog/blob/main/_cms.ts

I’m amazed at my own oversight...
Thank you as always : )