#33 DecimalAttr.sqlType fails when numDecimalPlaces not defined

closed
MiddleKit (4)
5
2003-01-15
2003-01-04
Mark Rowe
No

If the numDecimalPlaces key is not set for a decimal
datatype. The problem is with line 259 of
MSSQLSQLGenerator.py. It doesn't check to see if the
key exists before accessing it.

Discussion

  • Mark Rowe

    Mark Rowe - 2003-01-04
    • labels: --> MiddleKit
     
  • Mark Rowe

    Mark Rowe - 2003-01-04

    Patch to check for existence of numDecimalPlaces key before accessing it

     
  • Chuck Esterbrook

    Logged In: YES
    user_id=27498

    This should be fixed by the latest cvs updates. Seach
    MiddleKit/Docs/ReleaseNotes-0.8.html for "decimal" for details.

    Not also that numDecimalPlaces still works but is
    deprecated. Use the keys Precision and Scale.

     
  • Chuck Esterbrook

    • assigned_to: nobody --> echuck
     
  • Chuck Esterbrook

    • status: open --> closed
     

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

Sign up for the SourceForge newsletter:





No, thanks