[Koha-bugs] [Bug 22425] New: Icons directory broken on OPAC interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 27 17:52:56 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22425

            Bug ID: 22425
           Summary: Icons directory broken on OPAC interface
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: dpk at randomnotes.org
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Version: 18.11.03 (just upgraded)
OPAC theme: bootstrap
OPAC Fallback theme: prog

After upgrading to 18.11.03 using the debian packages on February 25th, we
noticed the icons on search results were broken (the image did not load). 
Search results in the admin interface displayed properly.  Looking at the image
reference in the HTML, I found the file reference went and looked at the
filesystem.

As an example, the book icon was supposed to be:
<img src="/opac-tmpl/lib/famfamfam/silk/book.png" alt="book" title="book"
class="materialtype">

The broken OPAC directory has no silk subdirectory and the only book appears to
be book_previous.png which suggests this directory was in the midst of
manipulation when the package was built:

/usr/share/koha/opac/htdocs/opac-tmpl/lib/famfamfam:
total 176
drwxr-xr-x 2 root root 4096 Feb 25 10:22 .
drwxr-xr-x 5 root root 4096 Jun 11  2018 ..
-rw-r--r-- 1 root root  622 Feb 25 03:24 AR.png
-rw-r--r-- 1 root root  345 Feb 25 03:24 arrow_left.png
-rw-r--r-- 1 root root  685 Feb 25 03:24 arrow_refresh.png
-rw-r--r-- 1 root root  593 Feb 25 03:24 BK.png
-rw-r--r-- 1 root root  680 Feb 25 03:24 book_previous.png
-rw-r--r-- 1 root root  675 Feb 25 03:24 calendar.png
-rw-r--r-- 1 root root  587 Feb 25 03:24 cancel.png
-rw-r--r-- 1 root root  673 Feb 25 03:24 cd.png
-rw-r--r-- 1 root root  620 Feb 25 03:24 CF.png
-rw-r--r-- 1 root root  710 Feb 25 03:24 chart_curve.png
-rw-r--r-- 1 root root  666 Feb 25 03:24 controller.png
-rw-r--r-- 1 root root  655 Feb 25 03:24 cross.png
-rw-r--r-- 1 root root  390 Feb 25 03:24 database.png
-rw-r--r-- 1 root root  686 Feb 25 03:24 drive_web.png
-rw-r--r-- 1 root root  764 Feb 25 03:24 dvd.png
-rw-r--r-- 1 root root  567 Feb 25 03:24 font.png
-rw-r--r-- 1 root root  606 Feb 25 03:24 GR.png
-rw-r--r-- 1 root root  786 Feb 25 03:24 help.png
-rw-r--r-- 1 root root  343 Feb 25 03:24 link.png
-rw-r--r-- 1 root root  615 Feb 25 03:24 magnifier.png
-rw-r--r-- 1 root root  760 Feb 25 03:24 MM.png
-rw-r--r-- 1 root root  804 Feb 25 03:24 MP.png
-rw-r--r-- 1 root root  610 Feb 25 03:24 MU.png
-rw-r--r-- 1 root root  760 Feb 25 03:24 MX.png
-rw-r--r-- 1 root root  500 Feb 25 03:24 note.png
-rw-r--r-- 1 root root  825 Feb 25 03:24 OB.png
-rw-r--r-- 1 root root  548 Feb 25 03:24 paintbrush.png
-rw-r--r-- 1 root root  450 Feb 25 03:24 pencil.png
-rw-r--r-- 1 root root  704 Feb 25 03:24 pictures.png
-rw-r--r-- 1 root root  385 Feb 25 03:24 PR.png
-rw-r--r-- 1 root root   53 Feb 25 03:24 readme.txt
-rw-r--r-- 1 root root  649 Feb 25 03:24 report.png
-rw-r--r-- 1 root root  748 Feb 25 03:24 script.png
-rw-r--r-- 1 root root  658 Feb 25 03:24 SE.png
-rw-r--r-- 1 root root  700 Feb 25 03:24 stop.png
-rw-r--r-- 1 root root  789 Feb 25 03:24 ST.png
-rw-r--r-- 1 root root  452 Feb 25 03:24 TD.png
-rw-r--r-- 1 root root  344 Feb 25 03:24 text_list_bullets.png
-rw-r--r-- 1 root root  741 Feb 25 03:24 user.png
-rw-r--r-- 1 root root  653 Feb 25 03:24 VM.png
-rw-r--r-- 1 root root  957 Feb 25 03:24 world_link.png
-rw-r--r-- 1 root root  923 Feb 25 03:24 world.png

The working Admin interface has a different directory content:

/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/img/famfamfam/:
total 64
drwxr-xr-x 3 root root 4096 Feb 25 10:22 .
drwxr-xr-x 5 root root 4096 Feb 25 10:22 ..
-rw-r--r-- 1 root root  622 Feb 25 03:24 AR.png
-rw-r--r-- 1 root root  593 Feb 25 03:24 BK.png
-rw-r--r-- 1 root root  620 Feb 25 03:24 CF.png
-rw-r--r-- 1 root root  606 Feb 25 03:24 GR.png
-rw-r--r-- 1 root root  760 Feb 25 03:24 MM.png
-rw-r--r-- 1 root root  804 Feb 25 03:24 MP.png
-rw-r--r-- 1 root root  610 Feb 25 03:24 MU.png
-rw-r--r-- 1 root root  760 Feb 25 03:24 MX.png
-rw-r--r-- 1 root root  385 Feb 25 03:24 PR.png
-rw-r--r-- 1 root root  658 Feb 25 03:24 SE.png
drwxr-xr-x 2 root root 4096 Feb 25 10:22 silk
-rw-r--r-- 1 root root  789 Feb 25 03:24 ST.png
-rw-r--r-- 1 root root  452 Feb 25 03:24 TD.png
-rw-r--r-- 1 root root  653 Feb 25 03:24 VM.png

/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/img/famfamfam/silk:
total 72
drwxr-xr-x 2 root root 4096 Feb 25 10:22 .
drwxr-xr-x 3 root root 4096 Feb 25 10:22 ..
-rw-r--r-- 1 root root  789 Feb 25 03:24 book_link.png
-rw-r--r-- 1 root root  622 Feb 25 03:24 book_open.png
-rw-r--r-- 1 root root  593 Feb 25 03:24 book.png
-rw-r--r-- 1 root root  675 Feb 25 03:24 calendar.png
-rw-r--r-- 1 root root  792 Feb 25 03:24 computer_link.png
-rw-r--r-- 1 root root  655 Feb 25 03:24 cross.png
-rw-r--r-- 1 root root  666 Feb 25 03:24 error.png
-rw-r--r-- 1 root root  653 Feb 25 03:24 film.png
-rw-r--r-- 1 root root  804 Feb 25 03:24 map.png
-rw-r--r-- 1 root root  385 Feb 25 03:24 music.png
-rw-r--r-- 1 root root  658 Feb 25 03:24 newspaper.png
-rw-r--r-- 1 root root  591 Feb 25 03:24 page_white_acrobat.png
-rw-r--r-- 1 root root  603 Feb 25 03:24 page_white_code.png
-rw-r--r-- 1 root root  663 Feb 25 03:24 page_white_excel.png
-rw-r--r-- 1 root root  760 Feb 25 03:24 report_disk.png
-rw-r--r-- 1 root root  610 Feb 25 03:24 sound.png

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


More information about the Koha-bugs mailing list