Export failed: You cannot call create unless the parent is saved

42 views
Skip to first unread message

asyraf9

unread,
Aug 25, 2008, 4:51:49 AM8/25/08
to Comatose Plugin
Hi everyone,

I am getting this error when importing a yml file from another
database for my CMS:

You cannot call create unless the parent is saved

I did not setup comatose_root in routes.rb since my root page is
already setup for something else, and setting up comatose_root to
other pages (e.g comatose_root 'cmshome', :index => '' - not sure if
this is right) doesn't seem to work.

so when I run rake:comatose:export from my source database, I get the
following error:

Could not find the page at '', export aborted!

so I ran export at the child of the home page using the FROM option,
but when importing into my destination database, I get the error
above. I'd like to make the export import process easy so I can speed
up deployment into production (also because deployment is done by
someone else).

Can someone help me out with this? Thanks!
Reply all
Reply to author
Forward
0 new messages