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 679309 - Source change on client side not saved
Source change on client side not saved
Status: RESOLVED NOTABUG
Product: evolution-data-server
Classification: Platform
Component: general
3.6.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-07-03 09:09 UTC by Milan Crha
Modified: 2015-06-11 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2012-07-03 09:09:15 UTC
While trying to figure out bug #678901, I realized that source changes on client side, like in evolution, are not saved, thus they are done every time the client starts, which means fake notifications about changes.

I've two examples:
a) all my EWS accounts are disabled on each evolution's start; they are
   disabled in Edit->Preferences->Mail Accounts, still the related ESource-s
   are disabled too (I'm fine with their disable, I'm not fine with "each
   start of Evolution").
b) there was a bug in migration that IMAP's namespace parameter was converted
   to 'true', instead of left as empty string. The IMAP provider fixes
   CamelImapSettings 'namespace' in imap_store_connect_sync(), to an empty
   string for me. It notifies about property change, because it changed from
   'true' to ''. This invokes ESource change notification, which results
   in bug #678901.
Comment 1 Matthew Barnes 2012-07-03 11:27:38 UTC
Not a bug, this is very much intentional.

Changes on the client side have to be submitted through e_source_write(), assuming the ESource is writable.
Comment 2 Milan Crha 2012-07-04 10:14:07 UTC
I do not think so. Why should Camel know anything about ESources? I thought you do not want to depend on eds in camel.

Furthermore (subproblem), when I enable/disable mail account, it is not saved, thus the next start of evolution (actually, of evolution-source-registry) the mail account I changed enabled state for is back where it was. Changing through evolution, in Edit->Preferences->Mail Accounts.
Comment 3 Milan Crha 2012-07-09 07:14:01 UTC
Why did you remove the Whiteboard tag? This *is* regression from 3.4.x, and it was introduced with the account-mgmt changes. (Or my change from bug #678901?)
Comment 4 Milan Crha 2015-06-11 10:14:35 UTC
(In reply to Matthew Barnes from comment #1)
> Changes on the client side have to be submitted through e_source_write(),
> assuming the ESource is writable.

Thinking of it, even the 3.4.x couldn't do auto-saving of changes being done directly in camel. Even the settings are camel's, they are managed by evolution (or the client in general).