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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
  Text to go in the|                            |This fixes the deduping
      release notes|                            |authorities maintenance
                   |                            |script
                   |                            |(misc/maintenance/dedup_aut
                   |                            |horities.pl) so that it now
                   |                            |works and displays the
                   |                            |output from the merging of
                   |                            |authority records as
                   |                            |expected.
                   |                            |
                   |                            |Previously, it seemed to
                   |                            |generate duplicate IDs, for
                   |                            |example:
                   |                            |
                   |                            |Before
                   |                            |------
                   |                            |
                   |                            |Processing authority 1660
                   |                            |(531/650 81.69%)
                   |                            |    Merging 1660,1662 into
                   |                            |1660.
                   |                            |    Updated 0 biblios
                   |                            |    Deleting 1662
                   |                            |    Merge done.
                   |                            |
                   |                            |After
                   |                            |-----
                   |                            |
                   |                            |Processing authority 1660
                   |                            |(532/650 81.85%)
                   |                            |    Merging 1662 into 1660.
                   |                            |    Updated 0 biblios
                   |                            |    Deleting 1662
                   |                            |    Merge done.

--- Comment #3 from David Nind <[email protected]> ---
Testing notes (using KTD) - just noting my experience, have signed off:

Before the patch
==================

First run
---------

...
Processing authority 748 (360/650 55.38%)
    Merging 748,748 into 403.
    Updated 0 biblios
    Deleting 748
    Updated 0 biblios
    Deleting 748
{UNKNOWN}: Can't call method "move_to_deleted" on an undefined value at
/kohadevbox/koha/C4/AuthoritiesMarc.pm line 754. at
/kohadevbox/koha/C4/AuthoritiesMarc.pm line 757

Second run, still get merges
----------------------------

...
Processing authority 1568 (514/597 86.10%)
    Merging 1568,1568 into 403.
    Updated 0 biblios
    Deleting 1568
    Updated 0 biblios
    Deleting 1568
{UNKNOWN}: Can't call method "move_to_deleted" on an undefined value at
/kohadevbox/koha/C4/AuthoritiesMarc.pm line 754. at
/kohadevbox/koha/C4/AuthoritiesMarc.pm line 757

Third run
---------

End of deduping for authtype 'PERSO_NAME'
Updated 0 biblios
Deleted 6 authorities
No biblios to update

Fourth run
----------

End of deduping for authtype 'PERSO_NAME'
Updated 0 biblios
Deleted 0 authorities
No biblios to update


After the patch - with a reset_all
==================================

...
Processing authority 1662 (631/650 97.08%)
    Merging 1660 into 1662.
    Updated 0 biblios
    Deleting 1660
    Merge done.
....
End of deduping for authtype 'PERSO_NAME'
Updated 0 biblios
Deleted 50 authorities
No biblios to update

After the patch - with a shutdown and startup of KTD
====================================================

First run
---------

...
Processing authority 1660 (532/650 81.85%)
    Merging 1662 into 1660.
    Updated 0 biblios
    Deleting 1662
    Merge done.
...
End of deduping for authtype 'PERSO_NAME'
Updated 0 biblios
Deleted 104 authorities
No biblios to update

Second run
----------

...
End of deduping for authtype 'PERSO_NAME'
Updated 0 biblios
Deleted 0 authorities
No biblios to update

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to