Closed Bug 554901 Opened 14 years ago Closed 14 years ago

mailnews.messageid_browser.url is no more valid for mid-searches

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(thunderbird3.0 .7-fixed)

RESOLVED FIXED
Tracking Status
thunderbird3.0 --- .7-fixed

People

(Reporter: stefan.blumenrath, Assigned: InvisibleSmiley)

References

(Blocks 1 open bug)

Details

(Keywords: fixed-seamonkey2.0.7)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.8) Gecko/20100205 Lightning/1.0b1 Mnenhy/0.8.0pre15 SeaMonkey/2.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.8) Gecko/20100205 Lightning/1.0b1 Mnenhy/0.8.0pre15 SeaMonkey/2.0.3

The standar value for mailnews.messageid_browser.url is set to http://groups.google.de/groups?selm=%mid&rnum=1
This url isn't valid anymore, it has to be replaced by
http://groups.google.de/groups/search?as_umsgid=%mid&rnum=1

With the given url add-ons (like mnenhy or midfinder) aren't able to find a message by google. 

Reproducible: Always

Steps to Reproduce:
1. use an add-on using this prev for find a message by google
2.
3.
Actual Results:  
Google gives an internal server error, i should retry in 30 seconds.
This happens allways

Expected Results:  
Display the message with the given mid

I use mnenhy for mid-search. in mnenhys source you find:

function OpenBrowserWithMessageId(asMessageID)
{
  let sBrowserURL = goMnenhy.GetPref("mailnews.messageid_browser.url", goMnenhy.kiPrefWString);
...
Flags: wanted-seamonkey2.1?
Flags: wanted-seamonkey2.0?
I can reproduce this with:
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a4pre) Gecko/20100324 Mnenhy/0.8.0pre15 SeaMonkey/2.1a1pre

Because I am currently using an Trunk-Build, I will wait until I (or someone else) reproduce this behaviour with SM-2.0.x Branch before I confirm this report.
wanted-seamonkey2.0 is useless nowadays, wanted-* flags are only useful for features before a final is shipped. stop using it for stable branches where they are useless and only cause work for triaging the requests.
Flags: wanted-seamonkey2.0?
Attached patch patch for all c-c occurrences (obsolete) — Splinter Review
Confirming. Karsten, can you please request appropriate TB review(er)s on the patch?
Assignee: nobody → jh
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #434940 - Flags: review?(mnyromyr)
Hardware: x86 → All
Comment on attachment 434940 [details] [diff] [review]
patch for all c-c occurrences

>+mailnews.messageid_browser.url=http://groups.google.com/search?as_umsgid=%mid&rnum=1

The parameter &rnum=1 is superfluous.
r=me with that.
Attachment #434940 - Flags: superreview?(bienvenu)
Attachment #434940 - Flags: review?(mnyromyr)
Attachment #434940 - Flags: review+
Attachment #434940 - Flags: superreview?(bienvenu) → superreview+
Low risk, only used by OpenBrowserWithMessageId() which doesn't change behavior. Unfortunately I cannot request TB branch approval, maybe the bug needs to be moved for that (but please not in such a way that the SM branch approval request gets lost!).

@KaiRo: Could you drop a short note to localizers that this fix is needed for MessageIDFinder/Mnenhy to work correctly? Thanks.
Attachment #434940 - Attachment is obsolete: true
Attachment #435110 - Flags: superreview+
Attachment #435110 - Flags: review+
Attachment #435110 - Flags: approval-seamonkey2.0.5?
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

http://hg.mozilla.org/comm-central/rev/2d4efc6ed8ca
Attachment #435110 - Attachment description: patch v1a, r=Mnyromyr sr=bienvenu → patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comment 6]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: wanted-seamonkey2.1?
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

Jens, please send a message to m.d.l10n yourself, as you can explain much better what's up there and why we are somewhat breaking the L10n freeze on the stable branch.
Attachment #435110 - Flags: approval-seamonkey2.0.5? → approval-seamonkey2.0.5+
I'm moving this to MailNews Core, as its obvious that is what this affects, and this patch also need thunderbird approval before it can land on branch.
Component: MailNews: Backend → Backend
Product: SeaMonkey → MailNews Core
QA Contact: mailnews-backend → backend
Target Milestone: seamonkey2.1a1 → ---
Attachment #435110 - Flags: approval-thunderbird3.0.5?
I'm uncomfortable with this patch for 3.0 (and as it has gone into trunk) for several reasons:

1) The string ids haven't been bumped on trunk builds. Not all localisers have changed the strings as a result, and won't have any idea about the change on branches.

2) There is no indication why the url is localised, what happens, what is replaced by what, how to test it. At a minimum, this needs a localisation note adding.

One suggestion was that we don't localise the url. That's a possibility, though KaiRo thinks we should have all non-mozilla urls localised (which seems, to some extent, reasonable, if we truly believe that non-English may have better services available).

3) Even with a follow-up post to .l10n, I'm not convinced that all localisers will pick up and action this change.
One possibility would be to go through all affected L10n repos and actually perform the change there, using some script or so. Not sure if we want to do that, though.
Agreed that a localization note is needed here.  It strikes me that while it would be good to localize this in the longer term, changing it to non-localized for landing on string-frozen branches would be better than just leaving things broken.  Doing what KaiRo suggests in comment 10 doesn't sound crazy either.
Attachment #435110 - Flags: approval-seamonkey2.0.5+ → approval-seamonkey2.0.6+
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

We have cut 2.0.5 now, so moving this to 2.0.6
(In reply to comment #9)
> 1) The string ids haven't been bumped on trunk builds. Not all localisers have
> changed the strings as a result, and won't have any idea about the change on
> branches.

The meaning of the string has not changed so there's no need to change the ID. You're correct about the missing notification to localizers of course. That's my fault, I was too reluctant to subscribe to and monitor m.d.l10n just to post one message there. Well, it's too late anyway because now we need to discuss how to proceed first.

> 2) There is no indication why the url is localised, what happens, what is
> replaced by what, how to test it. At a minimum, this needs a localisation note
> adding.

Admitted, I concentrated more on fixing the problem (for en-US) than doing a thorough analysis of the situation--which existed long before I even looked at it. If it helped I'd add a localization note. We'll have to agree on going that way first, though.

> One suggestion was that we don't localise the url. That's a possibility, though
> KaiRo thinks we should have all non-mozilla urls localised (which seems, to
> some extent, reasonable, if we truly believe that non-English may have better
> services available).

<http://mxr.mozilla.org/l10n-central/search?string=mailnews.messageid_browser.url>

Locales that picked up the switch: sv-SE, ko, ru, de, pl, zh-TW, be, it, sk, tr, es-ES [pl looks broken in the MXR search result but is actually OK.]
Locales that missed it: all the rest (several times as many as above).

Locales with non-google.com: nb-NO, de, pl, nn-NO, ca.
Locales with non-google.*: none.

If you ask me, that's just not worth it, also considering possible future changes. If I go to www.google.com with my German SeaMonkey I get a localized version. I guess the same is true for any other locale where a corresponding Google Groups version exists. Let's just stop the in-product l10n of this, shall we?

> 3) Even with a follow-up post to .l10n, I'm not convinced that all localisers
> will pick up and action this change.

So true. (Is it pessimism or just realism? At least I'm not alone here.)
It shouldn't be too hard to mass-change all existing, wrong entries, though. It's really not a technical problem but a matter of sustainability and group dynamics.
Attachment #435110 - Flags: approval-thunderbird3.0.5? → approval-thunderbird3.0.6?
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

Forwarding approval to 2.0.7 as it still stands but 2.0.6 has been cut.
Attachment #435110 - Flags: approval-seamonkey2.0.6+ → approval-seamonkey2.0.7+
Attachment #435110 - Flags: approval-thunderbird3.0.6? → approval-thunderbird3.0.7?
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

Ok, I really don't like this, but I'm just going to get it out of the way.

This can land with the proviso that a follow-up bug is filed to a) add localisation notes, and b) change the id, or otherwise resolve getting this updated in *all* localisations for the next trunk releases.
Attachment #435110 - Flags: approval-thunderbird3.0.7? → approval-thunderbird3.0.7+
Oh and I still think there should be a note to m.d.l10n when this lands.
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

http://hg.mozilla.org/releases/comm-1.9.1/rev/73960f7358c1
Attachment #435110 - Attachment description: patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comment 6] → patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]
(In reply to comment #16)
> Oh and I still think there should be a note to m.d.l10n when this lands.

<88CdnY3qUuuT-ezRnZ2dnUVZ_vmdnZ2d@mozilla.org>
Blocks: 589593
Comment on attachment 435110 [details] [diff] [review]
patch v1a, r=Mnyromyr sr=bienvenu [Checkin: comments 6 and 17]

This also landed on comm-1.9.2 back in March (yes, this bug really is that old!):

http://hg.mozilla.org/releases/comm-1.9.2/rev/2d4efc6ed8ca

(In reply to comment #15)
> This can land with the proviso that a follow-up bug is filed to a) add
> localisation notes, and b) change the id, or otherwise resolve getting this
> updated in *all* localisations for the next trunk releases.

Filed bug 589593.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: