Menu

#220 Delete-pub orphans artist records

v1.0 (example)
closed-fixed
Editing (62)
7
2015-10-10
2011-06-12
Marc Kupper
No

The logic to delete a publication deletes associated coverart title records but is then not checking to see if this is the last title record for the artist(s). This results in an orphaned "author" record(s) with no titles/publications listed.

You can replicate this by creating a publication record with a random artist's name and then deleting it. The artist's bibliographic page will still be present though will be empty.

Discussion

  • Ahasuerus

    Ahasuerus - 2012-11-03

    Note that this bug may be related to Bug 3159084.

     
  • Ahasuerus

    Ahasuerus - 2014-01-26
    • Group: --> v1.0 (example)
    • Priority: 5 --> 7
     
  • Ahasuerus

    Ahasuerus - 2015-10-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
    -The logic to delete a publication deletes associated coverart title records but is then not checking to see if this is the last title record for the artist\(s\). This results in an orphaned "author" record\(s\) with no titles/publications listed.
    +The logic to delete a publication deletes associated coverart title records but is then not checking to see if this is the last title record for the artist(s). This results in an orphaned "author" record(s) with no titles/publications listed.
    
     You can replicate this by creating a publication record with a random artist's name and then deleting it. The artist's bibliographic page will still be present though will be empty.
    
    • status: open --> closed-fixed
    • assigned_to: Ahasuerus
     
  • Ahasuerus

    Ahasuerus - 2015-10-10

    Fixed in:

    common/titleClass.py 1.27
    edit/cleanup_report.py 1.8
    edit/isfdblib.py 1.107
    mod/pa_delete.py 1.6
    mod/ta_delete.py 1.9
    nightly/nightly_update.py 1.133
    scripts/delete_bad_mapping_entries.sql 1.1
    

    Installed in r2015-152 on 2015-10-09. Closing.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB