Assertion failure when reading message: #3858

Caused by a valac bug set off by a generic function designed to convert a Gee List to a Vala
array.  Rather than fight it I've removed the function and added to FetchCommand a
constructor to build the command using a Gee Collection.
This commit is contained in:
Jim Nelson 2011-07-18 15:57:55 -07:00
parent 3e308a4d13
commit 9adabb21ed
4 changed files with 35 additions and 29 deletions

View file

@ -169,9 +169,11 @@ public class Geary.Sqlite.Folder : Geary.AbstractFolder, Geary.LocalFolder, Gear
continue;
ImapMessagePropertiesRow? properties = null;
if (required_fields.is_all_set(Geary.Email.Field.PROPERTIES)) {
if (required_fields.require(Geary.Email.Field.PROPERTIES)) {
properties = yield imap_message_properties_table.fetch_async(location_row.message_id,
cancellable);
if (properties == null)
continue;
}
Geary.Email email = message_row.to_email(new Geary.Imap.EmailLocation(location_row.position,