Plugin Developer Discussion

Discussion for FogBugz Plugin developers

Required columns without default values

System.ArgumentException: A default value must be specified for a column that does not accept NULL.

I should be able to do this.
Stefan Rusek Send private email
Thursday, April 23, 2009
 
 
I'll open a case.  The reason that check is there is because we require a default value for IPlugin*Entity*Join columns. Can you give me an example where you'd need to create a non-null column without a default value?
David Fullerton Send private email
Thursday, April 23, 2009
 
 
Basically any time you have a column where a value is truely required, and a default value does not make sense.

In this case, it is a table that doesn't get joined with Bug. Each row has a name and a sort index. Both are required, and neither makes sense to have a default value.
Stefan Rusek Send private email
Thursday, April 23, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz