Bug 1211542
| Summary: | "FOREIGN KEY constraint failed" trying to delete contact | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Milan Crha <mcrha> |
| Component: | evolution-data-server | Assignee: | Matthew Barnes <mbarnes> |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | jkoten, mcrha, vbenes, vrutkovs |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | evolution-data-server-3.12.11-2.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Cannot delete contacts in local books
Consequence: Trying to delete contacts with multiple emails fails with an error "FOREIGN KEY constraint failed"
Fix: correct data migration from an older version, to setup tables properly and track of this connection between data and the tables
Result: the contacts with multiple emails can be deleted
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 07:58:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Milan Crha
2015-04-14 09:30:53 UTC
Steps: a) restore from a backup from any of 3.6, 3.8, 3.10 with an address book which contains contains with emails b) close evolution, make sure also evolution-addressbook-factory was closed (it takes up to 10 seconds to be automatically closed when all clients are disconnected) c) run evolution again d) try to delete (cut (and paste) also works) one of the contacts with an email The attempt to delete the contact fails with the "FOREIGN KEY constraint failed" error, while it should just delete the contact. The upstream patch fixes both things: 1) already broken summary 2) update from older versions of the summary Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2226.html |