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

--- Comment #11 from Marc Véron <[email protected]> ---
Created attachment 38532
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38532&action=edit
[Signed-off] 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

All systems running Koha will have perldoc installed. :)

----
Tested with an without Readonly::XS 1.04 installed. Works as expected.

Signed-off-by: Marc Véron <[email protected]>

-- 
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