Search code examples
grailscontent-management-systemweceem

How do I get Weceem Grails plugin to save its content across application restart?


I have Weceem 1.0 plugin installed in an empty Grails 1.3.7 application. I did the initial setup from the docs page, and I switched the devDB from "mem" to "file" storage. I can create a space, populate some content, but then when I restart the application (grails run-app), my space and content is gone.

The devDB.script and other files show traces of Weceem data, but I lose the content in the newly started application.

What do I need to do to get it persistent?


Solution

  • You need to remove the settings dbCreate = "create/create-drop" and replace it by "update" or "none" in your DataSource.groovy file for development environment.