[Koha-bugs] [Bug 13642] Adding new features for Dublin Core metadata

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 08:34:58 CEST 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #59 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Ok, one step further:  sudo apt-get install librdf-trine-perl :)

As usual I will start with the automated tests. In my test run, I notice that 2
tests in t/db_dependent/Records.t failing:

#   Failed test 'testing marc2dcxml'
#   at t/db_dependent/Record.t line 59.
#          got: undef
#     expected: '<?xml version="1.0" encoding="UTF-8"?>
# <metadata
#   xmlns="http://example.org/myapp/"
#   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
#   xsi:schemaLocation="http://example.org/myapp/
http://example.org/myapp/schema.xsd"
#   xmlns:dc="http://purl.org/dc/elements/1.1/"
#   xmlns:dcterms="http://purl.org/dc/terms/">
# </metadata>'

#   Failed test 'testing marcQualified'
#   at t/db_dependent/Record.t line 71.
#          got: undef
#     expected: '<?xml version="1.0" encoding="UTF-8"?>
# <metadata
#   xmlns="http://example.org/myapp/"
#   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
#   xsi:schemaLocation="http://example.org/myapp/
http://example.org/myapp/schema.xsd"
#   xmlns:dc="http://purl.org/dc/elements/1.1/"
#   xmlns:dcterms="http://purl.org/dc/terms/">
# </metadata>'
# Looks like you failed 2 tests of 11.

Can you please check?

The QA script points out various uses of given-when - can you please fix by
rewriting those parts?

 FAIL    C4/Record.pm
   OK      critic
   OK      forbidden patterns
   OK      pod
   FAIL      valid
        when is experimental 
        given is experimental 

 FAIL    Koha/DublinCoreTransformer.pm
   OK      critic
   OK      forbidden patterns
   OK      pod
   FAIL      valid
        given is experimental 
        when is experimental 

 FAIL    catalogue/export.pl
   OK      critic
   OK      forbidden patterns
   OK      pod
   FAIL      valid
        when is experimental 
        given is experimental 

 FAIL    opac/opac-export.pl
   OK      critic
   OK      forbidden patterns
   OK      pod
   FAIL      valid
        given is experimental 
        when is experimental

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


More information about the Koha-bugs mailing list