Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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

     
  • 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.

     
    • assigned_to: nobody --> echuck
     
    • status: open --> closed