Closed Bug 1554782 Opened 7 years ago Closed 7 years ago

Contacts created in list edit window do not get a UID (never)

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: john, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Steps to reproduce:

  • create a list
  • edit that list
  • type a random/unused email address into the member list

Actual results:

A new contact is added to the address book.

The new contact does not have a UID and never gets one.

Expected results:

The new contact should get a UID.

Observed in

60.6.1
60.7
68.0a1 (2019-05-20) (64-bit) Daily

As a side note: contacts created this way also do not generate the new observer notifications or the old listener notification.

I did not test against older version than 60.6.1. Just wanted to make sure, it was not introduced in 60.7.

After chatting on IRC, I learned, that those contacts DO get a UID, as soon as there .UID is called. After that, .getProperty("UID","") also returns the UID.

It might by usefull to to automatically call .UID during creation, so the UID is generated. It may be related to bug 1555288.
I leave this to Geoff to decide, if this is a WONTFIX.

Yeah, this is a WONTFIX. For anybody else who reads this, you should not be accessing UID through the various property methods.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.