Menu

#269 Pub type change causes undefined language for new titles

closed-fixed
5
2012-10-09
2012-09-24
Ahasuerus
No

Suppose you are changing the type of a pub-title pair, e.g. from Novel to Omnibus or from Novel to Chapterbook. If you are also adding one or more new titles (e.g. 2 Novel titles to an Omnibus pub or a Shortfiction title to a Chapterbook pub) during the same edit, then the new titles won't have language codes associated with them. The reason for this behavior is that the approval process applies all pub level changes (which include changing the pub type) first. It then tries to find the main (or "referral") title for the pub, but there will be no matching title because the pub type has already been changed while the related title type hasn't been touched yet. Since the software can't find the referral title, it can't tell what language code it needs to assign to the newly added titles.

We should change the approval process so that the software wouldn't try to retrieve the referral title until after all pre-existing titles have been updated.

Discussion

  • Ahasuerus

    Ahasuerus - 2012-10-09
    • assigned_to: nobody --> ahasuerus_isfdb
    • status: open --> closed-fixed
     
  • Ahasuerus

    Ahasuerus - 2012-10-09

    Fixed in mod\ca_new.py 1.11, mod\common.py 1.10, mod\pa_update.py 1.11. Installed in r2012-27.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB