Closed Bug 1514126 Opened 6 years ago Closed 6 years ago

contact does not change

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(thunderbird_esr6066+ fixed, thunderbird66 fixed, thunderbird67 fixed)

RESOLVED FIXED
Thunderbird 67.0
Tracking Status
thunderbird_esr60 66+ fixed
thunderbird66 --- fixed
thunderbird67 --- fixed

People

(Reporter: to302, Assigned: darktrojan)

References

Details

Attachments

(5 files)

Attached image tb_error_log.png
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce: I use korean version TB. (60.3.3 - 32bit on windows 7) I open address book, and open contact window and edit some data (e.g. name 'hong' to 'kim') then click 'ok' button to save. I asked support forum. but I can't get solution https://support.mozilla.org/en-US/questions/1243428?utm_campaign=questions-reply&utm_medium=email&utm_source=notification Actual results: click 'ok' button then no action is happen. not close window. not saved. (actually it looks changed in list but when closing and re-open it, it's not changed) I found error log ( attached image ) green line is show after launching TB (I do nothing just open console window) red line is show when i open some contact. and last one is show when I click 'ok' button Expected results: editing window should be closed and manipulated data must be saved.
Aceman, can you please take a look.
Flags: needinfo?(acelists)
Version: 63 → 60
I can't reproduce it, whether on trunk or 60.3.3. In which addressbook is the contact card stored?
Flags: needinfo?(acelists)
Both of the failing places are this code: for (var i = kVcardFields.length; i-- > 0; ) { doc.getElementById(kVcardFields[i][0]).value = cardproperty.getProperty(kVcardFields[i][1], ""); } Do you have an addon touching addressbook? Can you attach a screenshot of the contact dialog (when editing a contact)?
Attached image contact_window.png
contact window
Attached image contact_dialog2.png
contact dialog 2nd tab
Attached image contact_dialog3.png
contact dialog other tabs image
add on 'Note++', 'Enigmail' and 'Mail Merge'. Mail Merge is installed later after finding bug.

Another user had a similar problem that was 'avoided' by reverting to TB 52 (Estonian). It seems to be a bug in certain localizations of TB 60.

FWIW I found a similar problem and reported it as bug #1521454.

I hope this helps.

Today, TB are upgraded to 60.5.0 automatically.
But, Still have same problem.

I'm having the same problem with thunderbird 60 on devuan ascii linux. Interestingly, the same version of thunderbird is ok on ubuntu 18.04. I also found that downloading version 52.9.1 also resulted in being able to edit contacts. Hope this is helpful, Thanks,

Oh, and ..

lsb_release -dr
Description: Devuan GNU/Linux 2.0 (ascii)
Release: 2.0
bryan: uname -r
4.14.101

Thunderbird in en-us, I believe.

See Also: → 1529648

I can explain the original report and that in comment 8. According to Pontoon, Korean, Estonian, Albanian have all translated strings labelled "DON'T TRANSLATE" in abCard.dtd. I don't know what we do about that.

Flags: needinfo?(jorgk)

Good on them, as you'd say in Australia:
https://dxr.mozilla.org/l10n-central/search?q=ENTITY+NameField1.id++++file%3AabCard.dtd&redirect=false

And then the software breaks? So this is only for swapping.

You need to file bugs for every affected locale:
Mozilla Localisations :: ko
etc.

and get them to fix that. But that will be hard to get into TB 60 ESR. Or talk to :flod.

Francesco, how can we fix those undesired translations?

Flags: needinfo?(jorgk) → needinfo?(francesco.lodolo)

Here's an idea. Get both strings. If the combination isn't "FirstName"/"LastName" or vice-versa, assume that combination. That can be done in code.

Flags: needinfo?(geoff)

I had that thought, but we're talking about an XML document. It could be done in the JS afterwards, but bonus problem, we can't reference the elements by ID. (Yes I know there are ways around that, just thought I'd point out the irony.)

Flags: needinfo?(geoff)

Unfortunately there's literally no way we can ship updates to 60 ESR. As for fixing the broken strings, I suggest to file bugs in each affected locale:
a) I could fix them, but they could be reverted as easily if they're not aware of the problem in the first place
b) I don't really know in which order the fields are supposed to be

I think the main problem is having "DON'T TRANSLATE" strings exposed to localization. Maybe a safer solution would be to have a numeric field that describes the order, instead of field IDs, and a safe fallback value.

On a side note, I assume SeaMonkey is broken as well for those locales.

Flags: needinfo?(francesco.lodolo)
Assignee: nobody → geoff
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9046867 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9046867 [details] [diff] [review] 1514126-abcard-ids-1.diff Review of attachment 9046867 [details] [diff] [review]: ----------------------------------------------------------------- I'm not opposed to using this for ESR, but for trunk we should really just fix it properly (have a localizable boolean pref for the order, or perhaps there some even better)
Attachment #9046867 - Flags: review?(mkmelin+mozilla) → review+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/84d8d4197737
Fix broken address book contact UI by correcting dodgy translations. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED

Personally I would have checked the 2nd field as well in case they translated one but not the other ;-)

Target Milestone: --- → Thunderbird 67.0
Attachment #9046867 - Flags: approval-comm-esr60+
Attachment #9046867 - Flags: approval-comm-beta+
Summary: contact does not changed → contact does not change
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: