Menu Page Group listing fix for EMBOSS 6.4
Brought to you by:
mccarthy
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.
one line fix for bug triggered by EMBOSS 6.4
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
This bug also exists in more recent EMBOSS versions.
The patch fixed the issue in EMBOSS 6.5.7 on OpenSUSE 12.2.
Thanks!