Summary | Fatal error during group removal |
Queue | Horde Base |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | rvs (at) angara (dot) ru |
Created | 11/17/2004 (7512 days ago) |
Due | |
Updated | 12/13/2010 (5295 days ago) |
Assigned | |
Resolved | 11/17/2004 (7512 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Fatal error during group removal
Queue ⇒ Horde Base
I've added some group in Groups management menu.
When trying to remove group, I got "Successfully deleted <group>", and then I
see fatal error message below. Note that the group removed actually.
I suppose that $current variable in file admin/group.php, line 175
after removal should be changed to parent of the deleted group.
---------------- ERROR MSG ----------------
A fatal error has occurred
Parents not found: 41 not found
[line 180 of <webroot>/horde/admin/groups.php]
Details (also in Horde's logfile):
object(pear_error)(8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
NULL
["message"]=>
string(31) "Parents not found: 41 not found"
["userinfo"]=>
NULL
["backtrace"]=>
array(4) {
[0]=>
array(6) {
["file"]=>
string(35) "/var/optpart/local/lib/php/PEAR.php"
["line"]=>
int(538)
["function"]=>
string(10) "pear_error"
["class"]=>
string(10) "pear_error"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(31) "Parents not found: 41 not found"
[1]=>
NULL
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
NULL
}
}
[1]=>
array(6) {
["file"]=>
string(45) "/var/optpart/local/lib/php/Horde/DataTree.php"
["line"]=>
int(1227)
["function"]=>
string(10) "raiseerror"
["class"]=>
string(4) "pear"
["type"]=>
string(2) "::"
["args"]=>
array(1) {
[0]=>
string(31) "Parents not found: 41 not found"
}
}
[2]=>
array(6) {
["file"]=>
string(45) "/var/optpart/local/lib/php/Horde/DataTree.php"
["line"]=>
int(795)
["function"]=>
string(10) "raiseerror"
["class"]=>
string(12) "datatree_sql"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(31) "Parents not found: 41 not found"
}
}
[3]=>
array(6) {
["file"]=>
string(78) "<webroot>/horde/admin/groups.php"
["line"]=>
int(178)
["function"]=>
string(13) "getparentlist"
["class"]=>
string(12) "datatree_sql"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(2) "41"
}
}
}
["callback"]=>
NULL
}