Ticket #1036 (reopened defect)
[REGRESSION TESTCASE] Format detection called on deleted objects
|Reported by:||Graham Cobb||Owned by:||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.
- Status changed from closed to reopened
- Resolution fixed deleted
- Summary changed from Format detection called on deleted objects to [REGRESSION TESTCASE] Format detection called on deleted objects