Closed Bug 516784 Opened 15 years ago Closed 15 years ago

SMTP authorization doesn't work in latest TB 3 build (cs version)

Categories

(Mozilla Localizations :: cs / Czech, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: JasnaPaka, Assigned: p.franc)

References

Details

(Keywords: regression, Whiteboard: [has protocol logs])

Attachments

(2 files)

In our firm we have SMTP server where authorization is needed. So login/password is needed and "Connection security: STARTTLS".

With this build all works fine:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090910 Shredder/3.0b4pre

With latest build I cannot send mail and when I try to delete password and send mail again I get error message and no password prompt. Error message say something like "cannot get password".

Build, where I have a problem:
Mozilla/5.0 (Windows; U; Windows NT 6.0; cs; rv:1.9.1.4pre) Gecko/20090915 Shredder/3.0b4pre
Could you provide  a SMTP log see https://wiki.mozilla.org/MailNews:Logging on how to get it.
Component: General → Networking: SMTP
Keywords: regression
Product: Thunderbird → MailNews Core
QA Contact: general → networking.smtp
Version: 3.0 → 1.9.1 Branch
Client: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090910 Shredder/3.0b4pre

E-mail cannot be send.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090910
Shredder/3.0b4pre

Here all works fine (the same account, the same profile).
Whiteboard: [has protocol logs]
Whilst I don't doubt you results, I don't think we've landed anything directly SMTP related in the last few days, which means this is going to be harder to track down. Could you try with a couple of extra builds to narrow the range down a bit more?

Some links:
ftp://ftp.mozilla.org/pub/thunderbird/nightly/2009/09/2009-09-11-03-comm-1.9.1/
ftp://ftp.mozilla.org/pub/thunderbird/nightly/2009/09/2009-09-12-03-comm-1.9.1/
ftp://ftp.mozilla.org/pub/thunderbird/nightly/2009/09/2009-09-13-03-comm-1.9.1/
ftp://ftp.mozilla.org/pub/thunderbird/nightly/2009/09/2009-09-14-03-comm-1.9.1/
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090916 Shredder/3.0pre
* all works fine

I think that problem is with czech (cs) version only. I have tested some older en builds and all works fine. Not sure why cs version doesn't work. Czech locale leader has the same problem.

Any idea where problem can be? How can I debug this problem?
Summary: SMTP authorization doesn't work in latest TB 3 build → SMTP authorization doesn't work in latest TB 3 build (cs version)
(In reply to comment #5)
> I think that problem is with czech (cs) version only. I have tested some older
> en builds and all works fine. Not sure why cs version doesn't work. Czech
> locale leader has the same problem.

Thanks for that information, that is very useful (with KaiRo's same issue on de localisation made finding this easier). The issue is that in composeMsg.properties the line:

smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %S na %1$S:

should be:

smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %2$S na %1$S:

The code is failing because the string is wrong. We could change mailnews to put up an English string, but I'm not sure what the general protocol is with fallbacks for badly-encoded strings, or if it is even worth it (IMHO it would be good for some sort of validator to be available for these strings).

I'm going to move this to be a localisation bug with the cs locale. I've found similar errors in some other localisations as well so I will file bugs on those ones as well.
Assignee: nobody → p.franc
Status: UNCONFIRMED → NEW
Component: Networking: SMTP → cs / Czech
Ever confirmed: true
Product: MailNews Core → Mozilla Localizations
QA Contact: networking.smtp → aha
Version: 1.9.1 Branch → unspecified
(In reply to comment #6)
> The issue is that in
> composeMsg.properties the line:
> 
> smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %S na %1$S:
> 
> should be:
> 
> smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %2$S na %1$S:

Just to be clear: note the '%S' versus '%2$S'

Also, both Thunderbird and SeaMonkey strings need changing:

http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/cs/diff/a34064edf7fe/suite/chrome/mailnews/compose/composeMsgs.properties
http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/cs/diff/a34064edf7fe/mail/chrome/messenger/messengercompose/composeMsgs.properties
(In reply to comment #7)
> smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %S na %1$S:
> should be:
> smtpEnterPasswordPromptWithUsername=Zadejte heslo k účtu %2$S na %1$S:

It looks next localized versions only issue.
  /hu.suite/, /cs/mail/, /cs/suite/, /he/mail/, /ar/mail/
> http://mxr.mozilla.org/l10n-mozilla1.9.1/search?string=smtpEnterPasswordPromptWithUsername
(In reply to comment #8)
> (In reply to comment #7)
> It looks next localized versions only issue.
>   /hu.suite/, /cs/mail/, /cs/suite/, /he/mail/, /ar/mail/
> > http://mxr.mozilla.org/l10n-mozilla1.9.1/search?string=smtpEnterPasswordPromptWithUsername

Wada - please read my comment 6 that said I was going to file bugs on these. As it turns out they aren't all an issue even though it looks like some of them are.
Fixed in http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/cs/rev/bf39cc0e3a3b
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #10)
> Fixed in http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/cs/rev/bf39cc0e3a3b

Does this mean we need to reship the cz locale ?
We don't consider it necessary. We informed our users at Mozilla.cz and hope this can wait till RC.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: