Closed Olli closed 4 months ago
Here is an addition screenshot in where I got this error
Ok additional hint ... maybe it had something to do with a still existing version of comfortable mexican sofa. After removing the traces of this CMS I was able to create pages and sub pages. It's still unclear for me how this could happen because the models are in different name spaces but I'm not so deep into the code to have an good overview
Ok now everything works fine. You maybe should mention to remove all remaining CMS if AlchemyCMS is used into an existing Rails app. Also will_paginate should replaced against kaminari otherwise AlchemyCMS makes problems.
Steps to reproduce
Fresh installation (it's integreated into an existing rails app), Fresh db:migrate create a root page
Expected behavior
Creating of a root page
Actual behavior
Got ActiveRecord::StatementInvalid Mysql2::Error: Unknown column 'public_on' in 'field list'
System configuration
Maybe related but I have in the logs Unpermitted parameter: :public. Context: { controller: Alchemy::Admin::PagesController, action: create, request: #, params: {"authenticity_token"=>"[FILTERED]", "page"=>{"name"=>"Index", "page_layout"=>"index", "language_id"=>"1", "language_code"=>"de", "language_root"=>"true", "public"=>"true"}, "button"=>"", "controller"=>"alchemy/admin/pages", "action"=>"create"} }