[Koha-bugs] [Bug 27944] Add new stages to the article request process

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 29 13:34:35 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27944

--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to Marcel de Rooy from comment #4)
> > Please run qa tools. I see this failure:
> >  FAIL   koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
> >    FAIL   valid_template
> >                 Attempt to reload Koha/Template/Plugin/Biblio.pm aborted.
> > Compilation failed in require at
> > /usr/lib/x86_64-linux-gnu/perl5/5.24/Template/Plugins.pm line 206.
> > => Is this related to biblio-view-menu.inc ?
> 
> The following change should fix that.
> 
> diff --git a/Koha/ArticleRequest.pm b/Koha/ArticleRequest.pm
> index 3ea325d83dc..692099ca6bd 100644
> --- a/Koha/ArticleRequest.pm
> +++ b/Koha/ArticleRequest.pm
> @@ -27,6 +27,7 @@ use Koha::Biblios;
>  use Koha::Items;
>  use Koha::Libraries;
>  use Koha::DateUtils qw(dt_from_string);
> +use Koha::ArticleRequest::Status;
> 
>  use base qw(Koha::Object);

Sorry, but it does not with me:

diff --git a/Koha/ArticleRequest.pm b/Koha/ArticleRequest.pm
index 3ea325d83d..692099ca6b 100644
--- a/Koha/ArticleRequest.pm
+++ b/Koha/ArticleRequest.pm
@@ -27,6 +27,7 @@ use Koha::Biblios;
 use Koha::Items;
 use Koha::Libraries;
 use Koha::DateUtils qw(dt_from_string);
+use Koha::ArticleRequest::Status;

 use base qw(Koha::Object);

 FAIL   koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
   FAIL   valid_template
                Attempt to reload Koha/Template/Plugin/Biblio.pm aborted.
Compilation failed in require at
/usr/lib/x86_64-linux-gnu/perl5/5.28/Template/Plugins.pm line 206.

There is still something else triggering a compile warn or error?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list