Menu

#40 (space) artist causes Python error on pub-update submission

closed-fixed
5
2009-10-19
2009-01-10
Marc Kupper
No

If someone enters a space in the cover artist field for a publication update then the XML includes an empty artist as in

<Artists>
<Artist></Artist>
</Artists>

When approving the submission XMLunescape() explodes trying to process the empty Artist field.

Example submissions are
http://www.isfdb.org/cgi-bin/mod/pa_update.cgi?1084473 - used for testing and only has the blank artist.

http://www.isfdb.org/cgi-bin/mod/pv_update.cgi?1084106 - original submission that exploded. I've already done the Contents part that did not get included with the failed submission.

Both submissions have been rejected and there's no need to process them.

Attached is the HTML of the Python error.

Discussion

  • Marc Kupper

    Marc Kupper - 2009-01-10

    Python exceptions.AttributeError

     
  • Ahasuerus

    Ahasuerus - 2009-10-18

    Fixed in common/pubClass.py 1.9.

     
  • Ahasuerus

    Ahasuerus - 2009-10-18
    • labels: --> Editor Interface
    • assigned_to: nobody --> ahasuerus_isfdb
    • status: open --> open-fixed
     
  • Ahasuerus

    Ahasuerus - 2009-10-19

    Implemented in r2009-47.

     
  • Ahasuerus

    Ahasuerus - 2009-10-19
    • status: open-fixed --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel