[Koha-bugs] [Bug 29311] Do not allow editing of bibliographic information when entering suggestion from existing bibs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 10 18:04:33 CEST 2023


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #13 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
It looks like this breaks a selenium test:

t/db_dependent/selenium/regressions.t .. 7/8 
STRACE: /usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch
{...} 
        /usr/share/perl5/Selenium/Remote/Driver.pm:361 in Try::Tiny::try
        (eval 549):1 in Selenium::Remote::Driver::__ANON__
        (eval 551):2 in Selenium::Remote::Driver::__ANON__
        /usr/share/perl5/Selenium/Remote/Driver.pm:1340 in
Selenium::Remote::Driver::_execute_command
        /usr/share/perl5/Selenium/Remote/Driver.pm:1340 in (eval)
        t/db_dependent/selenium/regressions.t:358 in
Selenium::Remote::Driver::find_element
        /usr/share/perl/5.32/Test/Builder.pm:334 in main::__ANON__
        /usr/share/perl/5.32/Test/Builder.pm:334 in (eval)
        /usr/share/perl/5.32/Test/More.pm:809 in Test::Builder::subtest
        t/db_dependent/selenium/regressions.t:372 in Test::More::subtest

    # No tests run!
t/db_dependent/selenium/regressions.t .. 8/8 
#   Failed test 'No tests run for subtest "OPAC - Suggest for purchase"'
#   at t/db_dependent/selenium/regressions.t line 372.
Error while executing command: no such element: Unable to locate element:
//input[@id="title"] at /usr/share/perl5/Selenium/Remote/Driver.pm line 411.
 at /usr/share/perl5/Selenium/Remote/Driver.pm line 356.
# Looks like your test exited with 11 just after 8.


The test looks for an input field, but with this patch applied, there is no
longer any input, just this:

<label>Title:</label>
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=1">E Street shuffle :</a>

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


More information about the Koha-bugs mailing list