Project

General

Profile

Bug #788

Bug when reuising a document with image

Added by Curt Ricardo Rodriguez Salazar over 10 years ago. Updated about 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Sven Vanpoucke
Target version:
Start date:
19/03/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

an error occurs when want to reuse a document with image, this errors generate the next text

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: UPDATE repository_document SET `id` = ?, `path` = ?, `filename` = ?, `filesize` = ?, `hash` = ? WHERE `id`=2588] [Native code: 1062] [Native message: Duplicate entry '2569' for key 1] [backtrace] => Array ( [0] => Array ( [file] => /var/www/html/chamilo/demo/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: UPDATE repository_document SET `id` = ?, `path` = ?, `filename` = ?, `filesize` = ?, `hash` = ? WHERE `id`=2588] [Native code: 1062] [Native message: Duplicate entry '2569' for key 1] ) ) [1] => Array ( [file] => /var/www/html/chamilo/demo/plugin/pear/PEAR.php [line] => 574 [function] => MDB2_Error [class] => MDB2_Error [object] => MDB2_Error Object RECURSION [type] => -> [args] => Array ( [0] => -3 [1] => 16 [2] => Array ( [0] => DatabaseRepositoryDataManager [1] => handle_error ) [3] => _execute: [Error message: Unable to execute statement] [Last executed query: UPDATE repository_document SET `id` = ?, `path` = ?, `filename` = ?, `filesize` = ?, `hash` = ? WHERE `id`=2588] [Native code: 1062] [Native message: Duplicate entry '2569' for key 1] ) ) [2] => Array ( [file] => /var/www/html/chamilo/demo/plugin/pear/MDB2.php [line] => 1497 [function] => raiseError [class] => PEAR [object] =>

History

#1

Updated by Yannick Warnier over 10 years ago

  • Subject changed from Bug in to Bug when reuising a document with image
#2

Updated by Stefaan Vanbillemont over 10 years ago

  • Category set to 4
  • Target version set to 2
#3

Updated by Sven Vanpoucke over 10 years ago

  • Status changed from New to Needs testing
  • Assignee set to Sven Vanpoucke
  • % Done changed from 0 to 100
#4

Updated by Stefaan Vanbillemont over 10 years ago

  • Status changed from Needs testing to Bug resolved
#5

Updated by Stefaan Vanbillemont over 9 years ago

  • Project changed from Chamilo LCMS Connect to Repository
  • Category deleted (4)
#6

Updated by Stefaan Vanbillemont about 9 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF