[Koha-bugs] [Bug 9953] When OpacMaintenance brakes lifting debarment

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 21:57:50 CET 2013


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

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17024|0                           |1
        is obsolete|                            |

--- Comment #3 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 17040
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17040&action=edit
Bug 9953 - When OpacMaintenance brakes lifting debarment

When OpacMaintenance is on, any opac page will redirect to maintenance.pl.
Some pages of intranet have the same behavior and you get 404 error.
This is because in checkauth, if type arg is undefined it is "opac" by default.

This patch adds type arg in all intranet calls of checkauth.

Test plan :
- Set syspref OpacMaintenance=Show
- Go to a borrower page
- Click on "Fines" and "Create manual invoice"
- Enter an amount and save
=> Check you go to members/boraccount.pl and not maintenance.pl with 404 error

OK

- Click on "Fines" and "Create manual credit"
- Enter an amount and save
=> Check you go to members/boraccount.pl and not maintenance.pl with 404 error

OK

- Edit borrower
- Set "Restricted" to yes and save
- Click on "Lift restriction" in messages
=> Check you keep in member page and not maintenance.pl with 404 error

OK

- Edit borrower
- Set "Expiry date" to a day in the past and save
- Click on "Renew" in messages
=> Check you keep in member page and not maintenance.pl with 404 error

OK

Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Good catch, a tricky bug.

http://bugs.koha-community.org/show_bug.cgi?id=9952
Signed-off-by: Liz Rea <liz at catalyst.net.nz>

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


More information about the Koha-bugs mailing list