octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9061] generate_html: fixing bug in genera


From: Fernando Pujaico Rivera
Subject: [Octave-patch-tracker] [patch #9061] generate_html: fixing bug in generate_package_html when no exist url field
Date: Thu, 28 Jul 2016 17:44:09 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/patch/?9061>

                 Summary: generate_html: fixing bug in generate_package_html
when no exist url field
                 Project: GNU Octave
            Submitted by: trucomanx
            Submitted on: Thu 28 Jul 2016 02:44:06 PM BRT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


In the version 0.1.12 of generate_html package
we have the next code

    if (isfield (list, "url")) && (! isempty (list.url))
      index_write_homepage_links (fid, list.url);
    endif

but, in the current source code version we have:

    if (! isempty (list.url))
      index_write_homepage_links (fid, list.url);
    endif


It is wrong no verify first if exist the url field.

I adding a patch, but you can fix it manually.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Jul 2016 02:44:06 PM BRT  Name: bug-no-url.diff  Size: 876B   By:
trucomanx

<http://savannah.gnu.org/patch/download.php?file_id=38042>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]