Ticket #1484600 (closed Bugs: worksforme)

Opened 15 months ago

Last modified 14 months ago

Can't add a previously-deleted contact

Reported by: benw Owned by:
Priority: 4 Milestone: 0.1-stable
Component: Core functionality Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

The search() method in rcube_contacts.inc; I think I found a glitch in it. If you have a contact in your address book and you delete it by mistake, then try to add the same contact again, it will see it as a duplicate and won't let you add it. This is because the search() method searches all contacts, even those with the del flag set.

Change History

  Changed 15 months ago by benw

Sorry for the dupe! This is the correct one.

  Changed 15 months ago by thomasb

  • milestone changed from 0.1-rc2 to 0.1-stable

in reply to: ↑ description   Changed 15 months ago by seansan

Replying to benw:

The search() method in rcube_contacts.inc; I think I found a glitch in it. If you have a contact in your address book and you delete it by mistake, then try to add the same contact again, it will see it as a duplicate and won't let you add it. This is because the search() method searches all contacts, even those with the del flag set.

I cannot reproduce - Can you give the steps to reproduce?

  Changed 15 months ago by benw

That's odd- working for me too now. I'm going to try to see if I can reproduce the glitch.

  Changed 14 months ago by thomasb

  • status changed from new to closed
  • resolution set to worksforme

The search queries for records having del<>1. Deleted records should therefore not match.

Note: See TracTickets for help on using tickets.