http://bugzilla.moblin.org/show_bug.cgi?id=9332
--- Comment #3 from yongsheng zhu <yongsheng.zhu(a)intel.com> 2010-02-01 01:13:14 PST
---
(In reply to comment #2)
(In reply to comment #1)
> (In reply to comment #0)
> > After I ran the latest test-dbus.py, my personal addressbook and calendar were
> > replaced with test data. Thank god for backups and
"refresh-from-server"... ;-)
> sorry :-( what's test data?
> > Yongsheng, can you reproduce this? Which test uses a default value for
> > evolutionsource and could cause this?
> But I can't reproduce this.
Then try running TestSessionAPIsDummy.testRestoreByRef. It restores test data
into the default local databases.
> There might be an improvement for this: if 'CLIENT_TEST_EVOLUTION_PREFIX'
> is set, evolutionSource should be set the combination of this environment
> variable and its source names. But this should not replace your data according
> to your settings.
This is not an improvement, it is essential.
From bug #9065 comment #10:
> We should reuse CLIENT_TEST_EVOLUTION_PREFIX and implement the same default,
> to be consistent.
Note the "same default" here: the default if the user does not set
CLIENT_TEST_EVOLUTION_PREFIX is to use
SyncEvolution_Test_ical20/itodo20/vcard30/text_1/2. We only need one set of
databases in test-dbus.py, so we should use _1.
Right now, CLIENT_TEST_EVOLUTION_PREFIX is only checked in some places. If not
set, the default databases are used, which is a big no-no.
ACK. TODO: Replace all
databases with
default(SyncEvolution_Test_ical20/itodo20/vcard30/text_1/2) or with
CLIENT_TEST_EVOLUTION_PREFIX+default.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.