[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 27 09:32:51 CEST 2015


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #9 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38528
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38528&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.


More information about the Koha-bugs mailing list