After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684954 - Debug message claim that Individual are created with no personas
Debug message claim that Individual are created with no personas
Status: RESOLVED FIXED
Product: folks
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: Unset
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-27 14:00 UTC by Guillaume Desmottes
Modified: 2012-09-28 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2012-09-27 14:00:35 UTC
If you look at the debug output when running, say, folks-inspect you'll see loads of:

(folks-inspect:15950): folks-DEBUG: individual.vala:1159: Creating new Individual with 0 Personas: 0x1987a80

Those individuals actually have personas (good thing!) but when this debug message is printed (construct) they are not set yet. I think this should be call in the GObjectClass->constructed methods as, as this stage, the properties with the  G_PARAM_CONSTRUCT flag have been set (assuming this property does have this flag).
Comment 1 Philip Withnall 2012-09-28 17:29:50 UTC
commit c6e7980430f5c9c3a43aad68aa6070300d3f90f1
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Fri Sep 28 18:27:27 2012 +0100

    Bug 684954 — Debug message claim that Individual are created with no personas
    
    Fix the debug message in the Individual constructor.
    
    Closes: https://bugzilla.gnome.org/show_bug.cgi?id=684954

 NEWS                  | 1 +
 folks/individual.vala | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)