http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38526|0                           |1
        is obsolete|                            |

--- Comment #5 from M. Tompsett <[email protected]> ---
Created attachment 38527
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38527&action=edit
Bug 13767: Fix Readonly::XS version detection

The about.pl screen is unable to see that version 1.05-1+b1 is
installed because eval "require Readonly::XS" returns an error
message telling you that you can't use Readonly::XS directly.

Since it is the only one, we attempt to use /usr/bin/dpkg to
determine the version number.

TEST PLAN
---------
1) $ dpkg -l libreadonly-xs-perl
   -- note the version number
2) Log in to staff client
3) About Koha -> Perl modules
   -- note it says Readonly::XS is not installed.
   -- note the versions and colours of the other modules.
4) Apply patch
5) Reload page and go to Perl modules tab
   -- Readonly::XS should list the version noted in step 1.
   -- the other modules' output should be unchanged.
6) Run koha qa test tools

For non-debian systems lacking a /usr/bin/dpkg, the output
would be identical since the version number variable is
left undefined, which is true for the criteria used for the
missing logic.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to