[Koha-bugs] [Bug 19495] Automatic report conversion needs to do global replace on ' biblioitems' and 'marcxml'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 24 15:05:53 CEST 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #68329|0                           |1
        is obsolete|                            |

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 68463
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68463&action=edit
Bug 19495 - Automatic report conversion needs to do global replace on
'biblioitems' and 'marcxml'

Bug 17898 provides a way of converting reports that use biblioitems.marcxml so
that they will use biblio_metadata.metadata instead.

This only works with reports that do not refer to other columns in the
biblioitems table. This is a known limitation. It means that we should be able
to do a substitution of every occurrence of biblioitems with biblio_metadata,
and every occurrence of marcxml with metadata.

Unfortunately, we're not doing a global replace, we're only replacing the first
occurrence.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Reports/Guided.t

All tests successful.
Files=1, Tests=9, 10 wallclock secs ( 0.11 usr  0.01 sys +  2.85 cusr  0.25
csys =  3.22 CPU)
Result: PASS

Signed-off-by: Dominic Pichette <dominic at inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list