#10 Make trailing fields default to null

closed-fixed
None
5
2008-11-07
2001-12-14
Tripp Lilley
No

I'm not sure whether this is a MiddleKit issue or a DataTable issue, but if an entry in a MiddleKit model's Samples.csv file doesn't have every single field specified (even trailing, NULL fields), then SQLGenerator barfs out with an invalid index exception.

Since SQLGenerator knows how many fields it wants, it should treat any missing, trailing fields as implicit NULLs. (actually, this applies to Classes.csv, as well). This allows one to run a MiddleKit CSV file through a CSV canonicalizer that strips trailing empty fields, and still have it work as expected.

Discussion

  • Geoff Talvola
    Geoff Talvola
    2003-01-15

    Logged In: YES
    user_id=88162

    Assigning to Chuck since he's the MiddleKit guy.

     
  • Geoff Talvola
    Geoff Talvola
    2003-01-15

    • assigned_to: nobody --> echuck
     
    • status: open --> closed-fixed
     
  • Finally closing this; I think this has been fixed long ago in r2073.