Menu

#321 Remove Awards errors out for Award Level 80

v1.0 (example)
closed-fixed
5
2014-03-31
2013-01-14
Ahasuerus
No

Remove Awards errors out with a Python error when the Award Level 80. There are 68 award records in the database with award level 80, but they were all withdrawn and all appear to be in need of having their level changed to a value between 81 and 85. We also need to make the code more bullet-proof so that an unanticipated level value wouldn't result in a Python error. Finally, the list of "special" levels, which is defined in biblio/awards.py, probably needs to be used as a drop-down list instead of asking editors to remember what each number means.

Discussion

  • Darrah Chavey

    Darrah Chavey - 2014-03-28

    Errors happen when the award level = 70, 74-80, 86-90, or 94-97

     
  • Ahasuerus

    Ahasuerus - 2014-03-31
    • status: open --> closed-fixed
    • assigned_to: Ahasuerus
    • Group: --> v1.0 (example)
     
  • Ahasuerus

    Ahasuerus - 2014-03-31

    Fixed in:

    biblio/awards.py 1.17
    biblio/ay.py 1.6
    biblio/eaw.py 1.15
    biblio/title.py 1.72
    common/library.py 1.49
    edit/rmtitleaward.py 1.12
    edit/rmyearaward.py 1.9
    edit/selecttitleaward.py 1.9
    edit/selectyearaward.py 1.9
    scripts/delete_bad_awards.sql 1.1
    

    Installed in r2014-153 on 2014-03-30. Closing.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB