Project

General

Profile

Bug #216

portfolio edit title

Added by Anonymous about 11 years ago. Updated almost 10 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Sven Vanpoucke
Target version:
Start date:
02/12/2009
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

portfolio edit title: leads to error:
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 `filename` = ?, `filesize` = ?, `path` = ?, `hash` = ? WHERE `id`=42] [Native code: 1062] [Native message: Duplicate entry '' for key 'rd_hash_un_idx'] [backtrace] => Array ( [0] => Array ( [file] => C:\wamp\www\chamilo\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 `filename` = ?, `filesize` = ?, `path` = ?, `hash` = ? WHERE `id`=42] [Native code: 1062] [Native message: Duplicate entry '' for key 'rd_hash_un_idx'] ) ) [1] => Array ( [file] => C:\wamp\www\chamilo\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 `filename` = ?, `filesize` = ?, `path` = ?, `hash` = ? WHERE `id`=42] [Native code: 1062] [Native message: Duplicate entry '' for key 'rd_hash_un_idx'] ) ) [2] => Array ( [file] => C:\wamp\www\chamilo\plugin\pear\MDB2.php [line] => 1497 [function] => raiseError [class] => PEAR [object] => MDB2_Driver_mysqli Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => - [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked] => 1 [start_transaction] => 1 [varchar_max_length] => 65532
etc.

History

#1

Updated by Anonymous about 11 years ago

The problem appears only on levels deeper than 1

#2

Updated by Sven Vanpoucke about 11 years ago

  • Assignee set to Sven Vanpoucke
#3

Updated by Sven Vanpoucke about 11 years ago

  • Target version set to 2
#4

Updated by Sven Vanpoucke about 11 years ago

  • Status changed from New to Needs testing

I have checked it and this bug was the cause of the unique hash value (this should be fixed now with a reinstall)

#5

Updated by Stefaan Vanbillemont about 11 years ago

  • Status changed from Needs testing to Bug resolved
#6

Updated by Stefaan Vanbillemont almost 10 years ago

  • Project changed from Chamilo LCMS Connect to Portfolio
  • Category deleted (30)
#7

Updated by Stefaan Vanbillemont almost 10 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF