id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1036	[REGRESSION TESTCASE] Format detection called on deleted objects	Graham Cobb	dgollub	"I sync from GPE to filesync and create some files.  Then I delete one of the files and try the sync.

The following error is logged:
{{{
GLib-CRITICAL **: g_pattern_match_simple: assertion `string != NULL' failed
}}}
The problem is that detect_plain_as_xmlformat_contact is being called with data and size as 0, presumably for the change report for the deleted file.

It is not clear to me if this is an xmlformat bug (it should handle the detector being called with a NULL pointer) or an engine bug.  It seems like an engine bug: what is a format detector supposed to do if passed no data?

Note that vformat, xmlformat and xmlformat-doc are all installed during this test."	defect	reopened	normal	OpenSync 0.40	OpenSync: Testsuite	0.38	normal			
