Menu

#779 Obsolete image NoImage.gif referenced on the front page

v1.0 (example)
closed-fixed
None
5
2021-08-03
2021-08-01
No

ORIGINAL description of the bug:

During my attempt to migrate absolute HTML-references to local ones, I detected a missing reference in the Makefile of the css folder:
The image NoImage.gif isn't copied to the destination folder.
NoImage.gif is referenced in index.cgi Line 95:

                                if result[PUB_IMAGE]:
                                        image_source = result[PUB_IMAGE].split("|")[0]
                                        alt_name = 'Book Image'
                                else:
                                        image_source = 'https://%s/NoImage.gif' % HTMLLOC
                                        alt_name = 'No Image'

I tried to reduce the usage of HTMLHOST, HTFAKE and HTMLLOC to the minimum. So far with success.

UPDATED description of the bug:

Obsolete image NoImage.gif referenced on the front page. The code that refers to this image is never executed because the front page only displays eligible publications which have a cover scan. The code that references NoImage.gif needs to be removed.

Discussion

  • Ahasuerus

    Ahasuerus - 2021-08-03
    • summary: Missing Reference of NoImage.gif in Makefile --> Obsolete image NoImage.gif referenced on the front page
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
    +ORIGINAL description of the bug:
    +
     During my attempt to migrate absolute HTML-references to local ones, I detected a missing reference in the Makefile of the css folder:
     The image NoImage.gif isn't copied to the destination folder.
     NoImage.gif is referenced in index.cgi Line 95:
    @@ -11,3 +13,7 @@
    
     ~~~
     I tried to reduce the usage of HTMLHOST, HTFAKE and HTMLLOC to the minimum. So far with success.
    +
    +UPDATED description of the bug:
    +
    +Obsolete image NoImage.gif referenced on the front page. The code that refers to this image is never executed because the front page only displays eligible publications which have a cover scan. The code that references NoImage.gif needs to be removed.
    
     
  • Ahasuerus

    Ahasuerus - 2021-08-03
    • status: open --> closed-fixed
    • assigned_to: Ahasuerus
     
  • Ahasuerus

    Ahasuerus - 2021-08-03

    Fixed in:

    biblio/index.py
    common/SQLparsing.py
    

    Installed in SVN 688 on 2021-08-02. Closing the Bug report.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB