summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlkka Aulomaa <ilkkax.aulomaa@intel.com>2013-04-23 13:58:37 (GMT)
committerStanislav Radomskiy <Stanislavx.Radomskiy@intel.com>2013-06-12 06:40:13 (GMT)
commit4945da580b5f755c2ea295447b850224213e92d6 (patch)
tree0f16465368932583d65eee3bb91ef2069db99b0c
parent2dd3506e5f3faa6443230b7425d783c2939bc3ae (diff)
downloadphone-contacts-4945da580b5f755c2ea295447b850224213e92d6.zip
phone-contacts-4945da580b5f755c2ea295447b850224213e92d6.tar.gz
phone-contacts-4945da580b5f755c2ea295447b850224213e92d6.tar.bz2
Fix for TDIS-5481. This fixes bug that grouped log items are attempted to be deleted two times, which causes failure of the delete procedure.
-rwxr-xr-xlib/log/ph-log-check-view.c3
-rw-r--r--packaging/phone.changes3
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/log/ph-log-check-view.c b/lib/log/ph-log-check-view.c
index bc151bd..3360b09 100755
--- a/lib/log/ph-log-check-view.c
+++ b/lib/log/ph-log-check-view.c
@@ -202,7 +202,8 @@ static PTHREAD_FN log_check_del(void *data)
if (!l_info) continue;
if (TRUE == l_info->checked) {
- if (CONTACTS_ERROR_NONE != ph_log_util_del_log_by_id(log_d->log_list, l_info)) {
+ if (CONTACTS_ERROR_NONE != contacts_db_delete_record( _contacts_phone_log._uri, l_info->id)) {
+ ERR("contacts_db_delete_record() failed (id=%d)" ,l_info->id);
p_info->completed = true;
break;
}
diff --git a/packaging/phone.changes b/packaging/phone.changes
new file mode 100644
index 0000000..1021fa3
--- /dev/null
+++ b/packaging/phone.changes
@@ -0,0 +1,3 @@
+* Tue Apr 23 2013 Ilkka Aulomaa <ilkkax.aulomaa@intel.com> submit/tizen_2.1/20130423.053952@ccb290b
+- Fix for TDIS-5481. This fixes bug that grouped log items are attempted to be deleted two times, which causes failure of the delete procedure.
+