cannot upload image

Description

When trying to upload image I'm getting "There are errors preventing information in specific fields from being saved as noted below.
Column 'mimetype' cannot be null [291]" and uplod fails.

Environment

None

Activity

Show:
Piotr Kopszak
April 27, 2012, 1:49 PM

JPEG 900x1370 900x1370+0+0 8-bit PseudoClass 256c 198KB

User known
April 27, 2012, 3:59 PM

Ah, mistake in the schema from a new modification. Sorry. Migration 60 will fix it. SVN update and then apply the migration.

Piotr Kopszak
April 30, 2012, 4:25 AM

Indeed. That solved the problem for the Limerick museum profile, but not for CDWAlight profile which still gives error on upload.

User known
May 2, 2012, 8:34 AM

The problem doesn't have anything to do with the profile. It was a database schema typo. Can you make sure the "mimetype" field in ca_object_representations is null-able in both installs?

Piotr Kopszak
May 6, 2012, 1:16 PM

That's right! All is fine. Sorry for false alarm. I can upload images using CDWAlight profile as well.

Fixed

Assignee

User known

Reporter

Piotr Kopszak

Labels

Components

Affects versions

Priority

Major