From: Jon M. <jo...@te...> - 2006-03-15 13:14:40
|
The problem lies with the change to uploaded_files.sql which was checked in 3 weeks ago. It adds this unique index; CREATE UNIQUE INDEX uploaded_files_unq_name ON uploaded_files (parent_uploaded_file_id, name) GO This constraint is ok for files and sub folders because they all have a parent_uploaded_file_id but the root folder for each resource has a null parent_uploaded_file_id and always has the same name. Consequently this constraint is bound to prevent uploading of files to any new resource other than the first resource that files were uploaded to since installation. A change is needed urgently - removing the constraint would be the most obvious first step. Was there a bug report that led to the addition of the constraint? Is there another way round that bug? Jon |