gramps -i FILE doesn't use temp db as documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gramps |
Fix Released
|
Unknown
|
|||
gramps (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
The gramps man page says:
OPTIONS
-i,--import= FILE
base is used; this is deleted when you exit gramps.
However this does not seem to be the case, i.e., a temp database is not used. Instead, the imported data is installed permanently in the default database.
STEPS TO REPRODUCE:
1. rm -rf $HOME/.gramps
2. gramps -i Nixon.gramps # (attached) or use your own
3. FamilyTrees->Quit
4. gramps
ACTUAL RESULT: The imported family tree is present in the default database and can be viewed
DOCUMENTED RESULT: Imported data should not be present
Again, I'm not sure wheter the behavior or the documentation is wrong (but I suspect the latter).
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gramps 4.1.1~dfsg-3
ProcVersionSign
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 2 16:47:34 2015
InstallationDate: Installed on 2015-02-06 (24 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150205)
PackageArchitec
SourcePackage: gramps
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gramps: | |
status: | Unknown → In Progress |
Changed in gramps (Ubuntu): | |
importance: | Undecided → Low |
Changed in gramps: | |
status: | In Progress → Fix Released |
Yes it looks like the manpage should be updated.
The removal of the .gramps directory is not necessary to reproduce it. Basically, if gramps is run with the -i option without specifying a database to import into with the -o option, a new database is created with the name "Family Tree 1". If you do the same command again, a new database is created called "Family Tree 2". These databases are not temporary, and do not get deleted (which I think is a desirable behaviour!).