[Tickets #10846] change visibility permission of a whups ticket comment. Before post
bugs at horde.org
bugs at horde.org
Thu Dec 8 14:49:56 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10846
------------------------------------------------------------------------------
Ticket | 10846
Created By | szimszon at oregpreshaz.eu
Summary | change visibility permission of a whups ticket comment.
| Before post
Queue | Whups
Version | 2.0
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
szimszon at oregpreshaz.eu (2011-12-08 14:49) wrote:
I was about to change the visibility of the comment from public to one
of the groups. I got that:
Trying to create sub permission of non-existant parent permission.
Create parent permission(s) first.
1. Whups_Ticket->commit() ...../whups/ticket/update.php:101
2. Whups_Ticket::addCommentPerms() ...../whups/lib/Ticket.php:330
3. Horde_Perms_Sql->addPermission() ...../whups/lib/Ticket.php:610
Details
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
Horde_Perms_Exception Object
(
[details] =>
[message:protected] => Trying to create sub permission of
non-existant parent permission. Create parent permission(s) first.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => ...../php/Horde/Perms/Sql.php
[line:protected] => 205
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => ...../whups/lib/Ticket.php
[line] => 610
[function] => addPermission
[class] => Horde_Perms_Sql
[type] => ->
[args] => Array
(
[0] => Horde_Perms_Permission_Sql Object
(
[_id:protected] =>
[_cache:protected] => Horde_Cache Object
(
[_params:protected] => Array
(
[compress] =>
[lifetime] => 86400
[dir] => /tmp/horde
[sub] => 0
[umask] => 63
)
[_logger:protected] =>
Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] =>
Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
[_storage:protected] =>
Horde_Cache_Storage_File Object
(
[_dir:protected] => /tmp
[_file:protected] => Array
(
[horde_registry|app|1322557127|610cd1fc7deea2e348ad643d64378a28] =>
/tmp/cache_0c752bd93ec8ffc74485cfdbe6e76577
[perm_sql_exists_2turba:sources:localldap] =>
/tmp/cache_696503dbed9c886499e398919b98e846
[perm_sql_2whups:comments:79] =>
/tmp/cache_5fec6d1a9944e67593b7282990644dda
[perm_sql_exists_2whups:comments:79] =>
/tmp/cache_9caa7bd8105805ca34bcee4d4d2362a1
)
[_logger:protected] => Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] => Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
[_params:protected] => Array
(
[prefix] => cache_
[sub] => 0
[dir] =>
/tmp/horde
[umask] => 63
[lifetime] => 86400
[compress] => 1
[logger]
=> Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] => Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
)
)
)
[_db:protected] =>
Horde_Db_Adapter_Mysqli Object
(
[_connection:protected]
=> mysqli Object
(
[affected_rows] => 0
[client_info] => 5.1.49
[client_version] => 50149
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[field_count] => 2
[host_info] =>
192.168.4.10 via TCP/IP
[info] =>
[insert_id] => 0
[server_info] =>
5.0.51a-24+lenny4
[server_version] => 50051
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 380481
[warning_count] => 0
)
[_insertId:protected] => 0
[_schemaClass:protected]
=> Horde_Db_Adapter_Mysql_Schema
[_hasMysqliFetchAll:protected] =>
[_config:protected] => Array
(
[username] => horde
[password] =>
JHSHB673jdsd67
[port] => 3306
[protocol] => tcp
[charset] => utf-8
[ssl] => 1
[phptype] => mysqli
[adapter] => mysqli
[host] => 192.168.4.10
[dbname] => horde
)
[_transactionStarted:protected] =>
[_lastQuery:protected] =>
SELECT perm_id, perm_parents FROM horde_perms WHERE perm_name =
'whups:comments'
[_rowCount:protected] => 0
[_runtime:protected] => 0
[_active:protected] => 1
[_cache:protected] =>
Horde_Cache Object
(
[_params:protected] => Array
(
[compress] =>
[lifetime] => 86400
[dir] =>
/tmp/horde
[sub] => 0
[umask] => 63
)
[_logger:protected] => Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] => Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
[_storage:protected] => Horde_Cache_Storage_File Object
(
[_dir:protected] => /tmp
[_file:protected] => Array
(
[tables/columns/horde_prefs] =>
/tmp/cache_5a3dafb5b1cf70a9b76b7e70107b3ba0
)
[_logger:protected] => Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] => Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
[_params:protected] => Array
(
[prefix] => cache_
[sub] => 0
[dir] => /tmp/horde
[umask] => 63
[lifetime] => 86400
[compress] => 1
[logger] => Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] => Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
)
)
)
[_logger:protected] =>
Horde_Core_Log_Logger Object
(
[_levels:Horde_Log_Logger:private] => Array
(
[0] => EMERG
[1] => ALERT
[2] => CRIT
[3] => ERR
[4] => WARN
[5] => NOTICE
[6] => INFO
[7] => DEBUG
)
[_handlers:Horde_Log_Logger:private] => Array
(
[0] =>
Horde_Log_Handler_Null Object
(
[_options:protected] => Array
(
[ident] =>
)
[_filters:protected] => Array
(
)
)
)
[_filters:Horde_Log_Logger:private] => Array
(
)
)
[_schema:protected] =>
Horde_Db_Adapter_Mysql_Schema Object
(
[_adapter:protected] => Horde_Db_Adapter_Mysqli Object
*RECURSION*
[_adapterMethods:protected] => Array
(
[adapterName] => 0
[supportsMigrations] => 1
[connect] => 2
[disconnect] => 3
[isActive] => 4
[quoteString] => 5
[select] => 6
[selectAll] => 7
[selectOne] => 8
[selectValue] => 9
[selectValues] => 10
[execute] => 11
[insert] => 12
[beginDbTransaction] => 13
[commitDbTransaction] => 14
[rollbackDbTransaction] => 15
[__construct] => 16
[__destruct] => 17
[__sleep] => 18
[__wakeup] => 19
[getOption] => 20
[setCache] => 21
[getCache] => 22
[setLogger] => 23
[getLogger] => 24
[__call] => 25
[supportsCountDistinct] => 26
[prefetchPrimaryKey] => 27
[getLastQuery] => 28
[resetRuntime] => 29
[reconnect] => 30
[rawConnection] => 31
[selectAssoc] => 32
[update] => 33
[delete] => 34
[transactionStarted] => 35
[addLimitOffset] => 36
[sanitizeLimit] => 37
[addLock] => 38
[insertFixture] => 39
[emptyInsertStatement] => 40
)
)
[_schemaMethods:protected] => Array
(
[makeColumn] => 0
[quoteColumnName] => 1
[quoteTableName] => 2
[quoteTrue] => 3
[quoteFalse] => 4
[nativeDatabaseTypes] => 5
[tables] => 6
[primaryKey] => 7
[indexes] => 8
[columns] => 9
[endTable] => 10
[renameTable] => 11
[changeColumn] => 12
[changeColumnDefault] => 13
[renameColumn] => 14
[removePrimaryKey] => 15
[indexName] => 16
[createDatabase] => 17
[dropDatabase] => 18
[currentDatabase] => 19
[typeToSql] => 20
[addColumnOptions] => 21
[buildClause] => 22
[getCharset] => 23
[setCharset] => 24
[_mysqlCharsetName] => 25
[getCollation] => 26
[showVariable] => 27
[caseSensitiveEqualityOperator] => 28
[limitedUpdateConditions] => 29
[__construct] => 30
[setAdapter] => 31
[makeColumnDefinition] => 32
[makeIndex] => 33
[makeTable] => 34
[makeTableDefinition] => 35
[__call] => 36
[__get] => 37
[quote] => 38
[quoteString] => 39
[quoteDate] => 40
[quoteBinary] => 41
[tableAliasLength] => 42
[tableAliasFor] => 43
[table] => 44
[createTable] => 45
[dropTable] => 46
[addColumn] => 47
[removeColumn] => 48
[addPrimaryKey] => 49
[addIndex] => 50
[removeIndex] => 51
[recreateDatabase] => 52
[distinct] => 53
[addOrderByForAssocLimiting] => 54
[interval] => 55
)
)
[data] => Array
(
[type] => matrix
[groups] => Array
(
[1] => 4
)
)
[name] => whups:comments:79
[_cacheVersion:protected] => 2
)
)
)
[1] => Array
(
[file] => ...../whups/lib/Ticket.php
[line] => 330
[function] => addCommentPerms
[class] => Whups_Ticket
[type] => ::
[args] => Array
(
[0] => 79
[1] => 1
)
)
[2] => Array
(
[file] => ...../whups/ticket/update.php
[line] => 101
[function] => commit
[class] => Whups_Ticket
[type] => ->
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
More information about the bugs
mailing list