#206 Error handling of enum serialization broken

v2.0
closed-fixed
zsi (169)
5
2007-10-31
2007-05-23
No

If the serialization routine is called with an incorrect enum value it does not generate the appropriate exception (it references an undefined variable instead).

Suggested patch (to 2.0) and a unit test are attached.

Discussion

  • Peter Rostin

    Peter Rostin - 2007-05-23

    Patch for problem with enum serialization error

     
    Attachments
  • Peter Rostin

    Peter Rostin - 2007-05-23

    Unittest for the bug

     
    Attachments
  • Peter Rostin

    Peter Rostin - 2007-05-23

    Logged In: YES
    user_id=1800119
    Originator: YES

    File Added: testenum.py

     
  • Joshua Boverhof

    Joshua Boverhof - 2007-07-17
    • assigned_to: nobody --> boverhof
    • status: open --> open-fixed
     
  • Joshua Boverhof

    Joshua Boverhof - 2007-07-17

    Logged In: YES
    user_id=711996
    Originator: NO

    FIxed, thanks for reporting it.

    $ svn log -r 1409
    ------------------------------------------------------------------------
    r1409 | boverhof | 2007-07-17 15:40:51 -0700 (Tue, 17 Jul 2007) | 4 lines

    M test/test_t1.py
    M ZSI/TC.py
    FIX BUG [ 1724481 ] Error handling of enum serialization broken

    ------------------------------------------------------------------------

     
  • Joshua Boverhof

    Joshua Boverhof - 2007-10-31
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks