[Koha-bugs] [Bug 16635] t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16635 Srdjan Jankovicchanged: What|Removed |Added CC||srd...@catalyst.net.nz --- Comment #4 from Srdjan Jankovic --- I've signed this off because it is way better than it was, but there's no reason for those vars to be our, my is quite sufficient. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16635] t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16635 Srdjan Jankovicchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16635] t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16635 Srdjan Jankovicchanged: What|Removed |Added Attachment #51955|0 |1 is obsolete|| --- Comment #3 from Srdjan Jankovic --- Created attachment 52070 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52070=edit [SIGNED-OFF] Bug 16635: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm According to http://perldoc.perl.org/vars.html, "our" should be a reasonable substitute for the "use vars". By declaring as "our", and removing the INIT, prove t/00-load will no longer generate a warning about INIT for the C4/Barcodes/hbyymmincr.pm module. TEST PLAN - 1) prove t/00-load.t -- warnings about INIT for hbyymmincr 2) prove `git grep -l hbyymmincr | grep [.]t$` -- should all run okay 3) apply patch 4) repeat steps 1 and 2 -- warning should be gone, and everything else run okay 5) run koha qa test tools Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16636] t/00-load.t warning from C4/External/BakerTaylor.pm
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16636 Srdjan Jankovicchanged: What|Removed |Added Attachment #51957|0 |1 is obsolete|| --- Comment #2 from Srdjan Jankovic --- Created attachment 52069 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52069=edit [SIGNED-OFF] Bug 16636: t/00-load.t warning from C4/External/BakerTaylor.pm Since the tests are expecting an initialize function, the initialize call was just moved outside of the INIT block. TEST PLAN - 1) prove t/00-load.t -- warnings about INIT for hbyymmincr 2) prove `git grep -l BakerTaylor | grep [.]t$` -- should all run okay 3) apply patch 4) repeat steps 1 and 2 -- warning should be gone, and everything else run okay 5) run koha qa test tools Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16649] OpenLibrarySearch.t fails when building packages
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16649 Srdjan Jankovicchanged: What|Removed |Added Attachment #52043|0 |1 is obsolete|| --- Comment #2 from Srdjan Jankovic --- Created attachment 52068 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52068=edit [SIGNED-OFF] Bug 16649: Make OpenLibrarySearch test pass even if launches offline Test plan: prove t/OpenLibrarySearch.t should return green even if you are offline Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16649] OpenLibrarySearch.t fails when building packages
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16649 Srdjan Jankovicchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 Srdjan Jankovicchanged: What|Removed |Added Attachment #52062|0 |1 is obsolete|| --- Comment #2 from Srdjan Jankovic --- Created attachment 52067 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52067=edit [SIGNED-OFF] Bug 16667: Unused variable and function call in circulation.pl This patch removes an unused occurence of the $branches variable. Probably a leftover from a recent rewrite. To test: - Run: $ git grep '$branches' circ/circulation.pl => FAIL: Only on occurence of the variable - Apply the patch - Run: $ git grep '$branches' circ/circulation.pl => SUCCESS: The variable has been removed - Sign off :-D Regards Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 Srdjan Jankovicchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16618] 00-load.t prematurely stops all testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16618 Srdjan Jankovicchanged: What|Removed |Added Attachment #51918|0 |1 is obsolete|| --- Comment #2 from Srdjan Jankovic --- Created attachment 52066 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52066=edit [SIGNED-OFF] Bug 16618: 00-load.t prematurely stops all testing Rather than add/remove regular expressions to skip modules (like bug 9054), encapsulate the decision logic into a separate function. Currently there are three libraries which trigger halts: Koha::NorwegianDB (which was already there) Koha::ElasticSearch::Indexer Koha::SearchEngine::Elasticsearch::Search TEST PLAN - 1) prove t/00-load.t -- should barf horribly on Catmandu stuff if not: sudo apt-get remove libcatmandu-marc-perl then repeat step. 2) apply patch 3) prove t/00-load.t -- should not barf horribly 4) run koha qa test tools NOTE: The four optional modules for Koha::NorwegianDB are listed in the PerlDependencies.pm, while there is no mention of Catmandu libraries at all there. This may be another bug which needs fixing. TECH NOTES (for ideas of how to tinker around): These three things should trigger the three module cases: sudo apt-get remove libcatmandu-marc-perl sudo apt-get remove libcatmandu-store-elasticsearch-perl sudo apt-get remove libconvert-basen-perl You probably had koha-perldeps installed before, so the following wil mostly fix: sudo apt-get install koha-perldeps libcatmandu-marc-perl And in case you didn't have elastic search stuff installed: echo deb http://packages.elastic.co/elasticsearch/1.7/debian stable main | sudo tee /etc/apt/sources.list.d/elasticsearch.list wget -O- https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get update cd ~ wget http://debian.koha-community.org/koha/otherthings/elasticsearch_deps.tar.gz tar xvf elasticsearch_deps.tar.gz cd es_deps sudo dpkg i lib* sudo apt-get install -f Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16618] 00-load.t prematurely stops all testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16618 Srdjan Jankovicchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 14645] Koha::RecordProcessor should deal with Koha::MetadataRecord objects
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14645 David Cookchanged: What|Removed |Added CC||dc...@prosentient.com.au --- Comment #4 from David Cook --- I wonder too if we could implement a Koha::Filter::XML::XSLT class. Unfortunately, since XML::LibXSLT returns a new XML::LibXML::Document object and Koha::RecordProcessor returns the original object, we'd need to do something like this to make that work: sub filter { my $self = shift; my $record = shift; my $xslt = XML::LibXSLT->new(); my $style_doc = XML::LibXML->load_xml(location => "path_to_xslt.xsl"); my $stylesheet = $xslt->parse_stylesheet($style_doc); my $filtered_record = $stylesheet->transform($record); my $new_root = $filtered_record->documentElement; my $newest = $new_root->cloneNode(1); $record->removeChildNodes(); $record->setDocumentElement($newest); return $record; } I imagine cloneNode isn't very efficient, although I don't know the specifics. I thought about implementing this class for my work on bug 10662, but I think I'll just write my own few lines for now... -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 Srdjan Jankovicchanged: What|Removed |Added Attachment #52064|0 |1 is obsolete|| --- Comment #2 from Srdjan Jankovic --- Created attachment 52065 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52065=edit [SIGNED-OFF] Bug 16668 - Move t/Ris.t to t/db_dependent/Ris.t Move test to db_dependent Signed-off-by: Srdjan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 Srdjan Jankovicchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 14828] Move the item types related code to Koha::ItemTypes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14828 Srdjan Jankovicchanged: What|Removed |Added CC||srd...@catalyst.net.nz --- Comment #33 from Srdjan Jankovic --- I'm having problems with t/db_dependent/HoldsQueue.t, line 64. $itemtype used to be a string, now is a record. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16646] Error message always displays for circulation in 3.22.07
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16646 Srdjan Jankovicchanged: What|Removed |Added CC||srd...@catalyst.net.nz --- Comment #2 from Srdjan Jankovic --- I will sign it off if you wish, but I'm not getting any errors on master. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 10459] borrowers should have a timestamp
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10459 --- Comment #58 from M. Tompsett--- Hence the third patch which makes it updated_on, David Cook. Still ready for QA, like comment #56 says. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 7170] Remove use of XML::Simple
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7170 David Cookchanged: What|Removed |Added CC||dc...@prosentient.com.au --- Comment #18 from David Cook --- I'd love to see XML::Simple disappear... As per the synopsis for XML::Simple itself says, "You really don't want to use this module in new code." http://search.cpan.org/~grantm/XML-Simple-2.22/lib/XML/Simple.pm#SYNOPSIS -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16660] Elasticsearch broken if OpacSuppression is activated
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16660 David Cookchanged: What|Removed |Added CC||dc...@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 1289] Bulk/global edit for MARC frameworks
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1289 --- Comment #4 from David Cook--- I used to like the idea of modifying the MARC frameworks, but in my experience people tend to do more harm than good when modifying them... -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 10459] borrowers should have a timestamp
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10459 David Cookchanged: What|Removed |Added CC||dc...@prosentient.com.au --- Comment #57 from David Cook --- (In reply to Kyle M Hall from comment #31) > I really dislike having a field name being the same as a mysql data type. I > think it introduces ambiguity. Would you or anyone else be opposed to naming > it "updated_on"? In addition to what Kyle has said, it appears that our own coding guidelines say that we shouldn't be using SQL92 keywords like "timestamp" as column names: https://wiki.koha-community.org/wiki/Coding_Guidelines#SQL2:_SQL92_keywords -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 Mirko Tietgenchanged: What|Removed |Added Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 --- Comment #1 from Mirko Tietgen--- Created attachment 52064 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52064=edit Bug 16668 - Move t/Ris.t to t/db_dependent/Ris.t Move test to db_dependent -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 Mirko Tietgenchanged: What|Removed |Added Assignee|ch...@bigballofwax.co.nz|mi...@abunchofthings.net Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16668] New: Move t/Ris.t to t/db_dependent/Ris.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668 Bug ID: 16668 Summary: Move t/Ris.t to t/db_dependent/Ris.t Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Test Suite Assignee: ch...@bigballofwax.co.nz Reporter: mi...@abunchofthings.net QA Contact: gmcha...@gmail.com > DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: > Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2) at > /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1249 Moving the test to db_dependent -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16413] Prototype for GetLatestAutoRenewDate and GetSoonestRenewDate should be changed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16413 --- Comment #4 from Jonathan Druart--- (In reply to Srdjan Jankovic from comment #3) > I think this one needs rebasing Apply cleanly on top of dependencies (bug 15581 and bug 16344). -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 15803] Koha::AuthorisedValues - Remove GetAuthorisedValueCategories
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15803 Jonathan Druartchanged: What|Removed |Added Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 15803] Koha::AuthorisedValues - Remove GetAuthorisedValueCategories
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15803 Jonathan Druartchanged: What|Removed |Added Attachment #47927|0 |1 is obsolete|| --- Comment #3 from Jonathan Druart --- Created attachment 52063 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52063=edit Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories The subroutine C4::Koha::GetAuthorisedValueCategories just retrieves all the authorised value categories. We already have a method in the Koha::AuthorisedValues module to do this job, let's use it! Technical explanations: The new subroutine of the AuthorisedValues TT plugin will allow to get the authorised value categories from the templates. The new html_helpers include file will get rid of the if selected else end statements. Bug 15758 already uses this file, see the commit description for more informations. Test plan: 1/ Create or edit a new fund (aqbudgets.pl), the fields "statistic 1" and "statistic 2" should be correctly filled with the list of authorised value categories 2/ Edit subfields for a biblio and authority framework. The "Authorized value" dropdown list should be correctly filled on both pages 3/ Create new items search fields (from the administration area), same as previously, the authorised value category dropdown list should be correctly filled 4/ Add and edit patron attribute types, check the authorised value category list. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16104] Warnings "used only once: possible typo" should be removed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16104 --- Comment #19 from Jonathan Druart--- (In reply to Marcel de Rooy from comment #18) > If you compile (perl -cw) a script or module now that contains a use > C4::Context, you have the following warnings: > > Name "Tie::Hash::FIELDS" used only once: possible typo at > /usr/share/perl/5.22/fields.pm line 135. > Name "Cache::RemovalStrategy::LRU::FIELDS" used only once: possible typo at > /usr/share/perl/5.22/fields.pm line 135. > Name "Cache::RemovalStrategy::FIELDS" used only once: possible typo > at /usr/share/perl/5.22/fields.pm line 135. > > [ PS koha-qa does the same. ] > > Are these warnings somehow related to perl's Cache module containing things > like below? > > use base qw(Tie::Hash); > > my $strategy = $args->{removal_strategy} || 'Cache::RemovalStrategy::LRU'; Yes, more or less, but I have never managed to track down completely the problem. There is something weird happening... To recreate easily, see bug 11998 comment 62 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 52062 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52062=edit Bug 16667: Unused variable and function call in circulation.pl This patch removes an unused occurence of the $branches variable. Probably a leftover from a recent rewrite. To test: - Run: $ git grep '$branches' circ/circulation.pl => FAIL: Only on occurence of the variable - Apply the patch - Run: $ git grep '$branches' circ/circulation.pl => SUCCESS: The variable has been removed - Sign off :-D Regards -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 Tomás Cohen Arazichanged: What|Removed |Added Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 Tomás Cohen Arazichanged: What|Removed |Added Assignee|gmcha...@gmail.com |tomasco...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16667] New: Unused variable and function call in circulation.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16667 Bug ID: 16667 Summary: Unused variable and function call in circulation.pl Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcha...@gmail.com Reporter: tomasco...@gmail.com QA Contact: testo...@bugs.koha-community.org To reproduce: - Run: $ git grep '$branches' circ/circulation.pl => FAIL: Variable is defined and never used -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16637] Dependency for C4::Tags not listed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16637 Marcel de Rooychanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16637] Dependency for C4::Tags not listed.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16637 Marcel de Rooychanged: What|Removed |Added Attachment #52060|0 |1 is obsolete|| --- Comment #12 from Marcel de Rooy --- Created attachment 52061 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52061=edit Bug 16637: Dependency for C4::Tags not listed Added optional dependency, so as to explain why testing explodes when the Enhanced Content system preference TagsExternalDictionary is set. It is optional, because not only does TagsExternalDictionary have to be set, but TagsEnabled must be 'Allow'. Also tweaked C4/Tags.pm to ignore TagsExternalDictionary, if Lingua::Ispell is not installed. A warning is given. TEST PLAN - 1) Set the Enhanced Content system preference TagsExternalDictionary to /usr/bin/ispell 2) sudo apt-get install liblingua-ispell-perl -- should be a new install 3) prove t/db_dependent/Tags.t -- should work fine 4) sudo apt-get remove liblingua-ispell-perl 5) prove t/db_dependent/Tags.t -- should explode 6) Clear the Enhanced Content system preference TagsExternalDictionary 7) prove t/db_dependent/Tags.t -- should work fine 8) apply patch 9) prove t/db_dependent/Tags.t -- should work fine 10) Set the Enhanced Content system preference TagsExternalDictionary to /usr/bin/ispell 11) prove t/db_dependent/Tags.t -- should work, with warning. 12) sudo apt-get install liblingua-ispell-perl 13) prove t/db_dependent/Tags.t -- should work fine 14) run koha qa test tools. Signed-off-by: Marcel de Rooy Post-hackfest hotel Olympia lobby signoff. Kalimera! Works as expected. At this moment the Tags.t test does not need the database btw, but the module should have much more test coverage. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 16637] Dependency for C4::Tags not listed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16637 Marcel de Rooychanged: What|Removed |Added Summary|Dependency for C4::Tags not |Dependency for C4::Tags not |listed. |listed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/