[Koha-bugs] [Bug 8497] New: Strange behavior when modifying the 'timeout' system preference.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 24 14:44:48 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8497

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8497
                CC: gmcharlt at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: Strange behavior when modifying the 'timeout' system
                    preference.
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: kyle at bywatersolutions.com
          Hardware: All
            Status: NEW
           Version: master
         Component: System Administration
           Product: Koha

The timeout system preference works fine, until I try to define the timeout in
days ( e.g. '1d', or '3d' ). 

Once I have done so, I cannot change it to anything else. I get an error
message from the pref system that says I'm logged out and need to log back in. 

If I click a link, I'm brought to the login page. If I log back in and try to
modify the preference, I will get another 'not logged in' message and will
start the loop all over again.

If I edit the db row directly and change the value back to an integer,
everything goes back to normal. I can modify the pref as much as I want, as
long as it is an integer. As soon as I use the 'd' option, everything goes
haywire again.

I noticed in the database, 'timeout' is set to 'Integer'. I tried changing it
to 'free' but that did not make a difference. If I dump the value of $timeout
in C4::Auth::checkauth, it appears to be correct, even when using the 'd'
option, but I end up logged out every time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list