← Back to team overview

desktop-packages team mailing list archive

[Bug 1373908] Re: UOA integration always creates new evolution-data-server accounts on login

 

** Branch linked: lp:ubuntu/trusty-proposed/evolution-data-server

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution-data-server in Ubuntu.
https://bugs.launchpad.net/bugs/1373908

Title:
  UOA integration always creates new evolution-data-server accounts on
  login

Status in “evolution-data-server” package in Ubuntu:
  Fix Released
Status in “evolution-data-server” source package in Trusty:
  Fix Committed

Bug description:
  * Impact: 
  e-d-s prompts for password at login when it shouldn't

  * Test case:
  - add a google account in the unity online accounts panel
  - log in
  -> you shouldn't be prompted for a calendar password

  * Regression potential: 
  make sure online calendars keep working as they should

  ------------------

  (This is probably the source of all those 'have to enter password
  again after login' bugs for UOA that are floating around)

  Bug symtoms:
  1. Have to enter password at every login again for EDS
  2. loads of accounts pile up in .config/evolution/sources (a new one on every login)

  What's going on:
  ubuntu_online_accounts_bus_acquired_cb() in eds/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c gets connected to the "bus-aquired" signal.

  Note also that evolution_source_registry_load_sources() from
  eds/services/evolution-source-registry/evolution-source-registry.c is
  connected to the same signal.  Given when the plugins are loaded, UOA
  connects to the signal first, so UOA tries to match up EDS accounts to
  UOA accounts before the EDS accounts (sources) have been loaded.

  The patch is simply to use g_signal_connect_after in module-ubuntu-
  online-accounts.c, which fixes the problem for me.

  Note though that this change means a whole bunch of code in module-
  ubuntu-online-accounts.c that has never run will now be run...

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: evolution-data-server 3.12.6-0ubuntu2 [modified: usr/lib/evolution/evolution-source-registry]
  ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
  Uname: Linux 3.16.0-17-generic x86_64
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Sep 25 22:08:54 2014
  InstallationDate: Installed on 2014-09-03 (22 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  SourcePackage: evolution-data-server
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1373908/+subscriptions


References