arambalakjian/DataObjects-as-Pages — Issue #2: Unknown column ClassName when Saving in DataObjectAsPageAdmin
Author: lingo
Created: 2012-02-05 20:09:41+00:00
State: open

I don't have time right now to chase this down, but this comes about, but this is based on a quick install and follow of instructions.
If I find more info, will post it.

Here's what the AJAX request showed:

POST http://esp/admin/articles/Article/1/EditForm?action_doSave=Save 500 (Error: "Couldn't run query: INSERT INTO "Article_versions" ("ClassName", "Created", "LastEdited", "Title", "Date", "Category", "Content", "AuthorID", "HeroImageID", "Image1ID", "Image2ID", "Summary", "BannerImageID", "RecordID", "Version") VALUES ('Article', '2012-01-29 13:38:14', '2012-01-29 13:41:01', 'Obra de arte -- review', '2012-11-21', 'Art', '

This is a new item with various stuff in it.

', '1', '0', '0', '0', '

This is a new item

', '6', 1, 7) Unknown column 'ClassName' in 'field list'" at line 525 of /.../sapphire/core/model/MySQLDatabase.php)

Cheers, - L