Project

General

Profile

Bug #1323

mdb error

Added by Anonymous almost 10 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
20/05/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

error when selecting a attachment to an object (announcement / calendar event / blog page, etc.):
MDB2_Error Object ( [error_message_prefix] => [mode] => 16 [level] => 1024 [code] => -3 [message] => MDB2 Error: constraint violation [userinfo] => _execute: [Error message: Unable to execute statement] [Last executed query: INSERT INTO repository_content_object_attachment (content_object_id, attachment_id) VALUES (?, ?)] [Native code: 1062] [Native message: Duplicate entry '26-0' for key 1] [backtrace] => Array ( [0] => Array ( [file] => /var/www/html/augent/plugin/pear/MDB2.php [line] => 1009 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => MDB2 Error: constraint violation [1] => -3 [2] => 16 [3] => Array ( [0] => DatabaseRepositoryDataManager [1] => handle_error ) [4] => _execute: [Error message: Unable to execute statement] [Last executed query: INSERT INTO repository_content_object_attachment (content_object_id, attachment_id) VALUES (?, ?)] [Native code: 1062] [Native m....

Even if the error does not occur (sometimes it does not, esp. with calendar events), the attachment is NOT added

History

#1

Updated by Anonymous almost 10 years ago

  • Status changed from New to Needs testing
  • % Done changed from 0 to 100
#2

Updated by Anonymous almost 10 years ago

  • Status changed from Needs testing to Bug resolved
#3

Updated by Anonymous almost 10 years ago

ok, it works now

#4

Updated by Stefaan Vanbillemont about 9 years ago

  • Project changed from Chamilo LCMS Connect to Courses
  • Category deleted (2)
#5

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF