Hi there!,
I did some research regarding my post:
http://lists.radiantcms.org/pipermail/radiant/2007-June/005165.html
In summary the problem is that i get an exception in
app/views/admin/page/edit.rhtml when calling
“filter_reference(default_filter_name)”:
---- 8< ----
<%= default_filter_name %> Reference
<%= link_to_function 'Close', "Element.hide('filter-reference-popup')", :class => 'close-link' %>
After some debugging i found that in my sqlite3 database, fields
of type “string” have a weird default value in the schema, and not a
default NULL value. This is for all tables.
For example this is the schema for the table "page_parts" reported
by sqlite3:
CREATE TABLE page_parts (“id” INTEGER PRIMARY KEY NOT NULL, “name”
varchar(100) DEFAULT ‘’‘NULL’’’, “filter_id” varchar(25) DEFAULT
‘’‘NULL’’’, “content” text DEFAULT ‘’‘NULL’’’, “page_id” integer
DEFAULT 0);
The default value is the string “‘NULL’” or whatever, but not the
raw NULL value. I have verified this in the rails console and with
rdebug.
This is what is causing me problems + other strange behaviors.
Did someone have this problem with sqlite3? It’s a problem of my
sqlite3 bindings?
/AITOR