[fossil-users] fossil silently ignores capitalized ticket table field names

2013-08-06 Thread Eric Rubin-Smith
I spent a couple hours hunting for a bug in which fossil does not properly apply changes to my custom fields to the ticket table. The root cause appears to be these lines from cgi.c's add_param_list(): if( fossil_islower(zName[0]) ){ cgi_set_parameter_nocopy(zName, zValue); }

Re: [fossil-users] fossil silently ignores capitalized ticket table field names

2013-08-06 Thread Richard Hipp
On Tue, Aug 6, 2013 at 4:31 PM, Eric Rubin-Smith eas@gmail.com wrote: I spent a couple hours hunting for a bug in which fossil does not properly apply changes to my custom fields to the ticket table. The root cause appears to be these lines from cgi.c's add_param_list(): if(

Re: [fossil-users] fossil silently ignores capitalized ticket table field names

2013-08-06 Thread Eric Rubin-Smith
... i.e. silently ignore capitalized POST argument names. Is there a reason for that? Yes there is. Thanks Richard. So I was initially planning on doing a brute-force migration to the new ticket table schema with the lowercase letters. But it sounds like that is a pointless exercise,

Re: [fossil-users] fossil silently ignores capitalized ticket table field names

2013-08-06 Thread Richard Hipp
On Tue, Aug 6, 2013 at 5:27 PM, Eric Rubin-Smith eas@gmail.com wrote: ... i.e. silently ignore capitalized POST argument names. Is there a reason for that? Yes there is. Thanks Richard. So I was initially planning on doing a brute-force migration to the new ticket table schema