Skip Menu |
 

This queue is for tickets about the RT-Extension-ToggleSuperUser CPAN distribution.

Report information
The Basics
Id: 52433
Status: open
Priority: 0/
Queue: RT-Extension-ToggleSuperUser

People
Owner: Nobody in particular
Requestors: ktm [...] rice.edu
Michael_Ellis [...] UManitoba.CA
Wesley.Dean [...] sunyit.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject:
Date: Wed, 26 Aug 2009 12:04:08 -0500
To: <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: "Michael Ellis" <Michael_Ellis [...] UManitoba.CA>
Download (untitled) / with headers
text/plain 304b
Between IE8.0.7100.0, Chrome 2.0.172.43, and Firefox 3.5.2 Enter/Leave superuser link only works in IE8. Firefox just reloads the page with the toggle in the same state it was. Chrome briefly shows where the link should change, "Error loading /Helpers/Toggle/SuperUser". RT 3.8.4 -Mike
Subject: RE: [rt.cpan.org #49030] AutoReply:
Date: Wed, 26 Aug 2009 13:09:45 -0500
To: <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: "Michael Ellis" <Michael_Ellis [...] UManitoba.CA>
Download (untitled) / with headers
text/plain 1.3k
Additional info: sometime IE8 doesn't change it either and requires a second click. Show quoted text
-----Original Message----- From: Bugs in RT-Extension-ToggleSuperUser via RT [mailto:bug-RT-Extension-ToggleSuperUser@rt.cpan.org] Sent: August-26-09 12:05 PM To: Michael_Ellis@UManitoba.CA Subject: [rt.cpan.org #49030] AutoReply: Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.cpan.org #49030]. Your ticket is accessible on the web at: http://rt.cpan.org/Ticket/Display.html?id=49030 Please include the string: [rt.cpan.org #49030] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-RT-Extension-ToggleSuperUser@rt.cpan.org ------------------------------------------------------------------------- Between IE8.0.7100.0, Chrome 2.0.172.43, and Firefox 3.5.2 Enter/Leave superuser link only works in IE8. Firefox just reloads the page with the toggle in the same state it was. Chrome briefly shows where the link should change, "Error loading /Helpers/Toggle/SuperUser". RT 3.8.4 -Mike
Subject: link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8)
Date: Fri, 4 Dec 2009 09:49:29 -0600
To: bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org
From: Kenneth Marshall <ktm [...] rice.edu>
Download (untitled) / with headers
text/plain 347b
Dear Developer, I have installed the latest version 0.02 in our RT-3.8.5 system and the clickable link appears. It does not change state and appears to do nothing. This is with a Mozilla 1.7.8 client. If there is anything I can do to help you debug the problem, let me know. This would be a very nice function to have. Regards, Kenneth Marshall
Subject: Re: [rt.cpan.org #52433] link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8)
Date: Fri, 26 Feb 2010 15:47:18 +0100
To: Kenneth Marshall via RT <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Emmanuel Lacour <elacour [...] home-dn.net>
Download (untitled) / with headers
text/plain 616b
On Fri, Dec 04, 2009 at 10:49:58AM -0500, Kenneth Marshall via RT wrote: Show quoted text
> > I have installed the latest version 0.02 in our RT-3.8.5 > system and the clickable link appears. It does not change > state and appears to do nothing. This is with a Mozilla > 1.7.8 client. If there is anything I can do to help you > debug the problem, let me know. This would be a very nice > function to have. >
Late answer, but answer ;) I tested and tried to reproduce your problem, but I was unable. Thought I can only test with firefox 3.x here. Mozilla 1.7.8 is a really really old browser, can't you upgrade to a recent one?
Subject: Re: [rt.cpan.org #52433] link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8)
Date: Fri, 26 Feb 2010 11:03:37 -0600
To: Emmanuel Lacour via RT <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Kenneth Marshall <ktm [...] rice.edu>
Download (untitled) / with headers
text/plain 1.4k
On Fri, Feb 26, 2010 at 10:48:19AM -0500, Emmanuel Lacour via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=52433 > > > On Fri, Dec 04, 2009 at 10:49:58AM -0500, Kenneth Marshall via RT wrote:
> > > > I have installed the latest version 0.02 in our RT-3.8.5 > > system and the clickable link appears. It does not change > > state and appears to do nothing. This is with a Mozilla > > 1.7.8 client. If there is anything I can do to help you > > debug the problem, let me know. This would be a very nice > > function to have. > >
> > Late answer, but answer ;) I tested and tried to reproduce your problem, > but I was unable. Thought I can only test with firefox 3.x here. > > Mozilla 1.7.8 is a really really old browser, can't you upgrade to a > recent one? >
Hi Emmanuel, Okay, I am trying it with Firefox 2.0.0.20/Solaris8 ( the most recent browser I can find for this platform ). I must click on the "Enter SuperUser" link 3 times before it toggles to "Leave SuperUser". But the QuickSearch screen never shows the queues that I can only see as SuperUser. It this cached at login? Then it can take several clicks (one, two, or three) to change back to "Enter SuperUser" again. On a Firefix 3.0.14/Linux browser, I can never get the toggle to work no matter how many times I click on the link. I definitely appreciate the problems with debugging something when you cannot reproduce the problem. Regards, Ken
Subject: [rt.cpan.org #52433] Also having problem with this extension in 3.8.5
Date: Thu, 29 Apr 2010 09:01:45 -0700
To: "bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org" <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Brian Marshall <Brian.Marshall [...] tolko.com>
Download (untitled) / with headers
text/plain 572b
Hello, I'm also experiencing this problem with 3.8.5 and RT::Extension::ToggleSuperUser v0.02; Firefox 3.6.3 doesn't toggle the text when the "Enter Superuser" or "Leave Superuser" links are clicked. Using IE8 the toggle happens properly. However, in both cases I can still do superuser stuff such as see all queues/view RT config etc even once the text is toggled. I'm mostly interested in having queues which I don't have explicit access to hidden from me when I'm not a superuser, so please let me know if this is the intended behaviour. Thanks! -Brian Marshall
From: ktm [...] rice.edu
Download (untitled) / with headers
text/plain 1.2k
On Thu Apr 29 12:00:02 2010, Brian.Marshall@tolko.com wrote: Show quoted text
> Hello, > > I'm also experiencing this problem with 3.8.5 and > RT::Extension::ToggleSuperUser v0.02; > Firefox 3.6.3 doesn't toggle the text when the "Enter Superuser" or > "Leave Superuser" links are clicked. Using IE8 the toggle happens > properly. > However, in both cases I can still do superuser stuff such as see all > queues/view RT config etc even once the text is toggled. > I'm mostly interested in having queues which I don't have explicit > access to hidden from me when I'm not a superuser, so please let me > know if this is the intended behaviour. > Thanks! > > -Brian Marshall
Hi, I was just taking a look at this package to see if I could see anything that could be causing this behavior. Of course, I am a bit hamstrung by my lack of in-depth knowledge about how all the RT pieces work together. I did notice that in Principal_Overlay.pm and elsewhere there were calls to InvalidateACLCache(). Some of the behavior that I have been observing would be seen if the cache still gave access to the previously determined as accessible objects. Maybe the cache needs to be flushed when the SuperUser toggle is activated/de-activated. Regards, Ken
Subject: link does not change state (RT 3.8.8 / Toggle-0.02 / Firefox 3.6.3 (see ticket 52433))
Date: Mon, 21 Jun 2010 11:35:58 -0400
To: bug-RT-Extension-ToggleSuperUser <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Wesley Dean <Wesley.Dean [...] sunyit.edu>
Download (untitled) / with headers
text/plain 6.1k
This is a follow-up to 52433<http://rt.cpan.org/Ticket/Display.html?id=52433>(link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8 )). I'm seeing the same behavior myself--the link exists, although when I click on it, no matter how many times, it doesn't seem to do anything (other than reload the page I'm seeing). I'm including the results of the build / install process in case someone notices something that I'm not. `perl Makefile.PL` Show quoted text
> Cannot determine perl version info from lib/RT/Extension/ToggleSuperUser.pm > WARNING: 'All rights reserved' in copyright may invalidate Open Source > license. > Using RT configuration from /usr/local/rt3/lib/RT.pm: > ./html => /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/html > ./lib => /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib > Checking if your kit is complete... > Looks good > Writing Makefile for RT::Extension::ToggleSuperUser >
`make` Show quoted text
> cp lib/RT/Principal_Vendor.pm blib/lib/RT/Principal_Vendor.pm > cp lib/RT/Extension/ToggleSuperUser.pm > blib/lib/RT/Extension/ToggleSuperUser.pm > Manifying blib/man3/RT::Extension::ToggleSuperUser.3pm >
`make test` Show quoted text
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/00-load.t ....... 1/1 # Testing RT::Extension::ToggleSuperUser 0.02, Perl > 5.008008, /usr/bin/perl > t/00-load.t ....... ok > t/boilerplate.t ... ok > t/pod-coverage.t .. 1/2 > # Failed test 'Pod coverage on RT::Principal_Vendor' > # at /usr/lib/perl5/site_perl/5.8.8/Test/Pod/Coverage.pm line 126. > # RT::Principal_Vendor: couldn't find pod > # Looks like you failed 1 test of 2. > t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > t/pod.t ........... ok > > Test Summary Report > ------------------- > t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0) > TODO passed: 1-3 > t/pod-coverage.t (Wstat: 256 Tests: 2 Failed: 1) > Failed test: 1 > Non-zero exit status: 1 > Files=4, Tests=8, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.15 cusr 0.06 > csys = 0.31 CPU) > Result: FAIL > Failed 1/4 test programs. 1/8 subtests failed. > make: *** [test_dynamic] Error 255 >
`make install NOECHO='echo'` echo true Show quoted text
> true > echo true > true > echo true > true > echo true > true > echo true > true > echo true > true > echo /usr/bin/perl "-Iinc" "-MExtUtils::Command::MM" -e pod2man "--" > --section=3 --perm_rw=644 \ > lib/RT/Extension/ToggleSuperUser.pm > blib/man3/RT::Extension::ToggleSuperUser.3pm > /usr/bin/perl -Iinc -MExtUtils::Command::MM -e pod2man -- --section=3 > --perm_rw=644 lib/RT/Extension/ToggleSuperUser.pm > blib/man3/RT::Extension::ToggleSuperUser.3pm > echo true > true > echo /usr/bin/perl "-Iinc" -MExtUtils::Install -e 'install([ from_to => > {@ARGV}, verbose => '\''0'\'', uninstall_shadows => '\''0'\'', dir_mode => > '\''755'\'' ]);' -- \ > read > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/RT/Extension/ToggleSuperUser/.packlist > \ > write > /usr/local/rt3/local/man/auto/RT/Extension/ToggleSuperUser/.packlist \ > blib/lib > /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib \ > blib/arch /usr/local/rt3/local/man \ > blib/bin /usr/bin \ > blib/script /usr/bin \ > blib/man1 /usr/local/rt3/local/man/man1 \ > blib/man3 /usr/local/rt3/local/man/man3 > /usr/bin/perl -Iinc -MExtUtils::Install -e install([ from_to => {@ARGV}, > verbose => '0', uninstall_shadows => '0', dir_mode => '755' ]); -- read > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/RT/Extension/ToggleSuperUser/.packlist > write /usr/local/rt3/local/man/auto/RT/Extension/ToggleSuperUser/.packlist > blib/lib /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib > blib/arch /usr/local/rt3/local/man blib/bin /usr/bin blib/script /usr/bin > blib/man1 /usr/local/rt3/local/man/man1 blib/man3 > /usr/local/rt3/local/man/man3 > echo /usr/bin/perl "-Iinc" -MExtUtils::Command::MM -e > 'warn_if_old_packlist' -- \ > > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/RT/Extension/ToggleSuperUser > /usr/bin/perl -Iinc -MExtUtils::Command::MM -e warn_if_old_packlist -- > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/RT/Extension/ToggleSuperUser > echo true > true > echo echo Appending installation info to > /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib/perllocal.pod > echo Appending installation info to > /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib/perllocal.pod > echo /usr/bin/perl "-Iinc" -MExtUtils::Command -e 'mkpath' -- > /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib > /usr/bin/perl -Iinc -MExtUtils::Command -e mkpath -- > /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib > echo /usr/bin/perl "-Iinc" -MExtUtils::Command::MM -e 'perllocal_install' > -- \ > "Module" "RT::Extension::ToggleSuperUser" \ > "installed into" > "/usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib" \ > LINKTYPE "dynamic" \ > VERSION "0.02" \ > EXE_FILES "" \
> >>
> /usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib/perllocal.pod > echo true > true > echo true > true > echo /usr/bin/perl "-Iinc" -MExtUtils::Install -e "install({q(html), > q(/usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/html), q(lib), > q(/usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib)})" > /usr/bin/perl -Iinc -MExtUtils::Install -e install({q(html), > q(/usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/html), q(lib), > q(/usr/local/rt3/local/plugins/RT-Extension-ToggleSuperUser/lib)}) > >
My environment: RT v3.8.8 RT-Extension-ToggleSuperUser-0.02 server environment: Oracle Enterprise Linux r5u5 on x86_64 `uname --a` : Linux dlwebrt001.sunyit.edu 2.6.18-194.3.1.0.1.el5 #1 SMP Thu May 6 19:58:50 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux client environment: Windows 7 Firefox 3.6.3 Wes -- Wesley Dean Web Architect / Information Technology Services (ITS) SUNY Institute of Technology at Utica / Rome (SUNYIT) Wesley.Dean@sunyit.edu tel : (315) 792 - 7143 fax : (315) 792 - 7222
Subject: Re: [rt.cpan.org #52433] link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8)
Date: Thu, 27 Jan 2011 08:36:35 -0600
To: Emmanuel Lacour via RT <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Kenneth Marshall <ktm [...] rice.edu>
Download (untitled) / with headers
text/plain 2.7k
On Fri, Feb 26, 2010 at 11:03:36AM -0600, Kenneth Marshall wrote: Show quoted text
> On Fri, Feb 26, 2010 at 10:48:19AM -0500, Emmanuel Lacour via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=52433 > > > > > On Fri, Dec 04, 2009 at 10:49:58AM -0500, Kenneth Marshall via RT wrote:
> > > > > > I have installed the latest version 0.02 in our RT-3.8.5 > > > system and the clickable link appears. It does not change > > > state and appears to do nothing. This is with a Mozilla > > > 1.7.8 client. If there is anything I can do to help you > > > debug the problem, let me know. This would be a very nice > > > function to have. > > >
> > > > Late answer, but answer ;) I tested and tried to reproduce your problem, > > but I was unable. Thought I can only test with firefox 3.x here. > > > > Mozilla 1.7.8 is a really really old browser, can't you upgrade to a > > recent one? > >
> > Hi Emmanuel, > > Okay, I am trying it with Firefox 2.0.0.20/Solaris8 ( the most recent > browser I can find for this platform ). I must click on the > "Enter SuperUser" link 3 times before it toggles to "Leave SuperUser". > But the QuickSearch screen never shows the queues that I can only see > as SuperUser. It this cached at login? Then it can take several clicks > (one, two, or three) to change back to "Enter SuperUser" again. > > On a Firefix 3.0.14/Linux browser, I can never get the toggle to work > no matter how many times I click on the link. I definitely appreciate > the problems with debugging something when you cannot reproduce the > problem. > > Regards, > Ken
Hi Emmanuel, We are getting ready to upgrade to RT 3.8.8 so I thought I would re-visit this problem and provide some testing data. I do not know if something changed on our end but now the existing 3.8.5 and new 3.8.8 behave the same: RT version browser OS Toggle? 3.8.5/8 mozilla-1.7.8 Solaris 8 yes, not on first click sometimes takes 2 clicks 3.8.5/8 firefox-2.0.0.20 Solaris 8 yes, not on first click sometimes takes 2 clicks 3.8.5/8 IE8 Windows 7 not first click, but all others work 3.8.5/8 firefox-3.6.8 Windows 7 no 3.8.5/8 firefox-3.6.8 MacOS X(.6) no 3.8.5/8 Safari 5 MacOS X(.6) no Could there be any settings on the web server that would affect how this works? What setting do you have in your server configuration file? Maybe the problem is related to those. I do not understand why it no longer works at all on MacOS X/Windows 7 with firefox-3.6.8? I appreciate any time you can give. Please let me know if there is anything that I can do to help debug. Regards, Ken
Subject: Re: [rt.cpan.org #52433] link does not change state (RT 3.8.5/Toggle-0.02/Mozilla-1.7.8)
Date: Thu, 27 Jan 2011 09:02:41 -0600
To: Emmanuel Lacour via RT <bug-RT-Extension-ToggleSuperUser [...] rt.cpan.org>
From: Kenneth Marshall <ktm [...] rice.edu>
On Thu, Jan 27, 2011 at 08:36:35AM -0600, Kenneth Marshall wrote: Show quoted text
> Hi Emmanuel, > > We are getting ready to upgrade to RT 3.8.8 so I thought I would re-visit > this problem and provide some testing data. I do not know if something > changed on our end but now the existing 3.8.5 and new 3.8.8 behave the > same: > > RT version browser OS Toggle? > 3.8.5/8 mozilla-1.7.8 Solaris 8 yes, not on first click > sometimes takes 2 clicks > 3.8.5/8 firefox-2.0.0.20 Solaris 8 yes, not on first click > sometimes takes 2 clicks > 3.8.5/8 IE8 Windows 7 not first click, but all > others work > 3.8.5/8 firefox-3.6.8 Windows 7 no > 3.8.5/8 firefox-3.6.8 MacOS X(.6) no > 3.8.5/8 Safari 5 MacOS X(.6) no > > Could there be any settings on the web server that would affect how > this works? What setting do you have in your server configuration > file? Maybe the problem is related to those. I do not understand why > it no longer works at all on MacOS X/Windows 7 with firefox-3.6.8? > I appreciate any time you can give. Please let me know if there is > anything that I can do to help debug. > > Regards, > Ken
Hi Emmanuel, I think I found the problem. The only difference between these browsers in our httpd config is that because of broken MSIE behavior we had forced keepalives off for that browser, but in fact we had disabled keepalives completely in the server config. I re-enabled keepalives and all the browsers work and have the same problem on the very first click of the toggle button. This should probably be added to the documentation to prevent all this head scratching in the future. This would also explain your failure to reproduce the problem on your end. Regarding the first click problem, is there anyway to do what the first click would do and pre-load it to avoid this problem. The sleep(1) call does not help at all here. Regards, Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.