[Koha-bugs] [Bug 8737] New: Incorrect icon at login in staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 7 07:32:46 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8737
          Assignee: oleonard at myacpl.org
           Summary: Incorrect icon at login in staff client
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: mtompset at hotmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Templates
           Product: Koha

Problem: despite setting the syspref for IntranetFavicon and doing several
refreshes, the default koha icon shows in my firefox tab.

Test:
1) Go to koha staff client to log in. The default green box k logo should be in
the browsers tab.
2) Log in.
3) If it is still the default:
3-1) click "Koha Administration"
3-2) click "Global system preferences"
3-3) click on the "Staff client" tab near the bottom left of the page
3-4) In the "Appearance" section, modified the "IntranetFavicon" system
preference to point a different icon.
3-5) scroll down and click 'Save all staff client preferences'
3-6) log out
3-7) log in
4) It should now be a different icon.
5) log out. It should now be the default icon, not the same one as logged in.

Before coming upon what I am going to attach as a solution, I was looking in
Template. jcamins commented out a section of code that I was going to add to as
a solution, so I figured that wouldn't be a good solution. I then checked to
see if it worked for OPAC. It did, so something must have the right code for
Opac, but have forgotten the Intranet.

Pre-solution hunt:
1) cd kohaclone
2) grep OpacFavicon `find . -name "*.p[lm]"`
3) grep IntranetFavicon `find . -name "*.p[lm]"`
4) Note there are two entries for OpacFavicon in C4/Auth.pm, but only one
IntranetFavicon entry

So looking at around line 949 which is in the "AUTH rejected" section, I found
both OPAC and Intranet variables were being set, but the IntranetFavicon was
missing.

NOTE: Someone more familiar with expected environment variables should check if
anything else is missing.

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


More information about the Koha-bugs mailing list