[cosmo-dev] [proposal] Bug 10442 - Deal with Bad Data in Sensible Way

Bobby Rullo br at osafoundation.org
Tue Dec 4 13:41:55 PST 2007


It's not clear to me how to proceed with this bug.

Firstly, what is the scope of this bug? Is it "bad data" in general?  
Or just these negative durations? If bad data in general, what  
constitutes bad data?

What should be done if we find bad data? And when? Should we filter  
each item from the server for bad data and pop up ui as they come in?

In any event I propose that we do nothing on the client side. It seems  
like the work is much easier to do on the server - disallow specific  
things like negative durations when they are created by returning an  
4xx Http status. It seems silly to allow the data on the server and  
then put the logic to force a change on the client.

Bobby



More information about the cosmo-dev mailing list