Menu

#21 Menu Page Group listing fix for EMBOSS 6.4

open
nobody
None
5
2012-11-15
2012-11-15
No

There is a logic bug in the _menu_html() subroutine that is triggered iff
the first group of applications only has one application. EMBOSS 6.4 has
this group/application configuration. On line 317 in
lib/EMBOSS/GUI/XHTML.pm (inside the _menu_html() subroutine change the line
from

if (@{$entries[0]} > 2) {# entries are groups...

to
if (ref($entries[0][1]) eq "ARRAY") { # entries are groups...

This will cause group listing to be detected correctly. I'll attatch a diff
-u output for easy patching. This has been tested on Fedora 17 and CentOS
6.3.

Discussion

  • Andrew Neuschwander

    one line fix for bug triggered by EMBOSS 6.4

     
  • Anonymous

    Anonymous - 2013-01-21

    This bug also exists in more recent EMBOSS versions.
    The patch fixed the issue in EMBOSS 6.5.7 on OpenSUSE 12.2.
    Thanks!

     

Log in to post a comment.

MongoDB Logo MongoDB