Closed Bug 680309 Opened 13 years ago Closed 8 years ago

Add update channel to about:support

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1109757

People

(Reporter: cilias, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 3 obsolete files)

In <http://groups.google.com/group/mozilla.dev.usability/msg/42a70d0e3a0490ea>, Asa said "we should add the channel to the Troubleshooting page and I think
that's already a known bug. The Troubleshooting page should give the
Name, the Channel, the Version, etc."

I haven't been able to find the bug for it, so I'm filing this.
Thanks, Chris. I swear I saw this bug before but I also cannot find it. Thanks for filing a new one.
This is a patch adding the update channel to about:support (and showing a message that it has not been found if the preference app.update.channel cannot be found).
Assignee: nobody → archaeopteryx
Status: NEW → ASSIGNED
Attachment #594467 - Flags: review?(dtownsend+bugmail)
I hadn't noticed that the string bundle for the error message wasn't global. This patch contains it in the onLoad function.
Attachment #594467 - Attachment is obsolete: true
Attachment #594467 - Flags: review?(dtownsend+bugmail)
Attachment #594482 - Flags: review?(dtownsend+bugmail)
Comment on attachment 594482 [details] [diff] [review]
patch adding app.update.channel to about:support, version 2

Review of attachment 594482 [details] [diff] [review]:
-----------------------------------------------------------------

This is going to display the incorrect update channel in some cases, please copy the correct code for retrieving it: http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsUpdateService.js#742
Attachment #594482 - Flags: review?(dtownsend+bugmail) → review-
Update patch, v3.

Thank you for the pointer, I took the code and replaced getCharPref for the partners with getComplextValue and nsISupportsString. Kev said in #partners that ascii is best practice, but metrics shows channel pollution with unicode characters from other entities.
Attachment #594482 - Attachment is obsolete: true
Attachment #596752 - Flags: review?(dtownsend+bugmail)
Updated patch. Noticed getPrefValue is available in aboutSupport.js, now using it.
Attachment #596752 - Attachment is obsolete: true
Attachment #596752 - Flags: review?(dtownsend+bugmail)
Attachment #596990 - Flags: review?(dtownsend+bugmail)
(In reply to Archaeopteryx [:aryx] from comment #5)
> Created attachment 596752 [details] [diff] [review]
> update channel in about:support, patch v3
> 
> Update patch, v3.
> 
> Thank you for the pointer, I took the code and replaced getCharPref for the
> partners with getComplextValue and nsISupportsString. Kev said in #partners
> that ascii is best practice, but metrics shows channel pollution with
> unicode characters from other entities.

That change concerns me a little. If we want to display the channel in about:support then surely we want to display exactly what the application is using for update checks? Or is there some other goal here?
Of course I can revert this. Maybe we should show it like this:

Update channel: normalUC (nsISupportsString version)

Only showing the normal update channel will make it difficult for supporters to manually decrypt UTF-8 strings.
Not sure showing it twice is the right solution here. What is the reason for including this in about:support, what do we expect the people to be able to do with this information?
Comment on attachment 596990 [details] [diff] [review]
update channel in about support, patch v4

Clearing review till I can understand the rationale for this change
Attachment #596990 - Flags: review?(dtownsend+bugmail)
Assignee: archaeopteryx → nobody
Status: ASSIGNED → NEW
(In reply to Dave Townsend (:Mossop) from comment #10)
> Comment on attachment 596990 [details] [diff] [review]
> update channel in about support, patch v4
> 
> Clearing review till I can understand the rationale for this change

The troubleshooting information can be send to add-on developers for example, so they can see in what version a certain bug happens. It`d be a great help to see if a user is using thunderbird (release) or thunderbird esr...
This got implemented in bug 1109757. It uses UpdateChannel.jsm and partner handling has changed recently so I think it addresses the concerns raised here.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: