Known bug in RT 3.4.5 with disabled Group display?

Is it a known bug in 3.4.5 that the "Include disabled groups in listing"
box on the Groups display page does nothing? I added this to the INIT
sectionof /Admin/Groups/index.html and now it seems to work …

if ($FindDisabledGroups) {
$Groups->{‘find_disabled_rows’} = 1;
}

I found this out the hard way as I thought I’d disabled a group (I had)
went to display it to re-enable it, couldn’t, recreated the group with
the same name (RT let me do this) and I ended up with two groups with
the same name. Some code I was using to set Group rights then kept
setting the rights on the invisible, disabled one and confused the hell
out of me …

$Group->LoadUserDefinedGroup

found the disabled group first when loading the group by name …

PK

Philip Kime
NOPS Systems Architect
310 401 0407

I believe we’ve already fixed this for 3.4.6, but checking that would be
appreciated?On Sat, Jun 03, 2006 at 08:09:56PM -0700, Philip Kime wrote:

Is it a known bug in 3.4.5 that the “Include disabled groups in listing”
box on the Groups display page does nothing? I added this to the INIT
sectionof /Admin/Groups/index.html and now it seems to work …

if ($FindDisabledGroups) {
$Groups->{‘find_disabled_rows’} = 1;
}

I found this out the hard way as I thought I’d disabled a group (I had)
went to display it to re-enable it, couldn’t, recreated the group with
the same name (RT let me do this) and I ended up with two groups with
the same name. Some code I was using to set Group rights then kept
setting the rights on the invisible, disabled one and confused the hell
out of me …

$Group->LoadUserDefinedGroup

found the disabled group first when loading the group by name …

PK


Philip Kime
NOPS Systems Architect
310 401 0407


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

I can confirm that the same thing happened to me when I disabled a group.
Wne I tried to re-enable it the group was gone. I can still find
individual tickets from this group though.

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |On Sat, 3 Jun 2006, Philip Kime wrote:

Is it a known bug in 3.4.5 that the “Include disabled groups in listing”
box on the Groups display page does nothing? I added this to the INIT
sectionof /Admin/Groups/index.html and now it seems to work …

if ($FindDisabledGroups) {
$Groups->{‘find_disabled_rows’} = 1;
}

I found this out the hard way as I thought I’d disabled a group (I had)
went to display it to re-enable it, couldn’t, recreated the group with
the same name (RT let me do this) and I ended up with two groups with
the same name. Some code I was using to set Group rights then kept
setting the rights on the invisible, disabled one and confused the hell
out of me …

$Group->LoadUserDefinedGroup

found the disabled group first when loading the group by name …

PK


Philip Kime
NOPS Systems Architect
310 401 0407

Seems to still be a problem in 3.6rc3 …

I believe we’ve already fixed this for 3.4.6, but checking that would
be appreciated?

Is it a known bug in 3.4.5 that the “Include disabled groups in
listing”