Odd file_column behaviour

I’ve been having an odd problem all morning… Have used the great
file_column plugin many times before without problems, however on one
app I’mworking on right now it’s refusing to work properly.

When I go to create a new record via the backend system I’ve written I
get the exception:

“Trying to access file_column, but primary key got lost.”

However if I go to edit an existing record everything works perfectly
and I can upload files.

This is only the second app I’ve written on my PowerBook using
Locomotive and (lazily) sqlite, I’ve usually written stuff on a FreeBSD
server with Postgres so perhaps its a platform/DB issue? Any ideas, I’m
stumped…

Si.

For the record this is a platform/DB problem, installed MySQL 5 and have
no problems.

Si.

Si wrote:

I’ve been having an odd problem all morning… Have used the great
file_column plugin many times before without problems, however on one
app I’mworking on right now it’s refusing to work properly.

When I go to create a new record via the backend system I’ve written I
get the exception:

“Trying to access file_column, but primary key got lost.”

However if I go to edit an existing record everything works perfectly
and I can upload files.

This is only the second app I’ve written on my PowerBook using
Locomotive and (lazily) sqlite, I’ve usually written stuff on a FreeBSD
server with Postgres so perhaps its a platform/DB issue? Any ideas, I’m
stumped…

Si.