No way to identify a contract reliably
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Contractor |
Fix Released
|
Medium
|
Unassigned | ||
0.2 |
Triaged
|
Undecided
|
Unassigned | ||
0.3 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There's no way to reliably identify a contract. Current contract matching depends on contract's display name, which may be the same for several contracts and can be localized.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: contractor 0.2-0~r26+
ProcVersionSign
Uname: Linux 3.2.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
CrashDB: contractor
Date: Sun Sep 23 13:38:08 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=
SourcePackage: contractor
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in contractor: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in contractor: | |
status: | Confirmed → Triaged |
Changed in contractor: | |
milestone: | luna-beta2 → luna-beta3 |
We can either use file name for identifying the contracts (without the .contract), or add a separate identifier field. Using file name is preferred because the latter still allows collisions and makes honoring $XDG_USER_DIRS really complicated.