Bugs item #493236, was opened at 2001-12-14 10:47
Message generated for change (Comment added) made by cito
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=493236&group_id=4866
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tripp Lilley (tlilley)
Assigned to: Chuck Esterbrook (echuck)
Summary: Make trailing fields default to null
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Christoph Zwerschke (cito)
Date: 2008-11-07 20:27
Message:
Finally closing this; I think this has been fixed long ago in r2073.
----------------------------------------------------------------------
Comment By: Geoff Talvola (gtalvola)
Date: 2003-01-15 21:55
Message:
Logged In: YES
user_id=88162
Assigning to Chuck since he's the MiddleKit guy.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=493236&group_id=4866
|