Closed Bug 1835561 Opened 11 months ago Closed 11 months ago

[fluent] Missing message in locale en-US: update-manual aboutDialog.xhtml

Categories

(Firefox :: Settings UI, defect, P1)

defect

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- unaffected
firefox114 + verified
firefox115 --- verified

People

(Reporter: robwu, Assigned: robwu)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files, 2 obsolete files)

On Nightly, click the "About Nightly" dialog to check for updates. Then look at the Browser Console. It contains the following warnings:

[fluent] Missing message in locale en-US: update-manual aboutDialog.xhtml
[fluent] Couldn't find a message: update-manual aboutDialog.xhtml
[dom/l10n] Could not complete initial document translation. aboutDialog.xhtml

It looks like the message was deleted in bug 1820654 but update-manual is used here and should be brought back:
https://searchfox.org/mozilla-central/rev/f4d3fe187cf7dffa4c13b354bbde9bc47b5ccd3f/browser/base/content/aboutDialog.xhtml#91

Set release status flags based on info from the regressing bug 1820654

:anayocrescent2, since you are the author of the regressor, bug 1820654, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(anayocrescent2)

This is non-trivial. I'll attach a patch.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Flags: needinfo?(anayocrescent2)

update-manual was deleted when aboutdialog-update-manual was introduced,
which itself was derived from "update-manual".

The message should not have been deleted, this restores the message,
by doing the opposite of what bug_1820654_update_manual.py did.

See Also: → 1835559

Uh, should we back out the regressing bug for 114, which we're about to ship (RC is being built today or was built yesterday, AIUI) ?

I assume this is user-facing (ie missing text) if they hit the manual update case?

Flags: needinfo?(rob)
Flags: needinfo?(pascalc)
Severity: -- → S2
Priority: -- → P1

We built and shipped our RC yesterday. I just tried the steps in both nightly and the RC and I can't reproduce the errors in the logs nor do I see obvious missing strings in the About dialog window. Is that a platform specific bug maybe? (I am on Linux)

Edit: I am seeing the warnings in the console in an en-US build, but not in an fr build

Flags: needinfo?(pascalc)
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/a760f858e946
Restore update-manual message + add test r=application-update-reviewers,nalexander,fluent-reviewers,flod

(In reply to Pascal Chevrel:pascalc from comment #6)

We built and shipped our RC yesterday. I just tried the steps in both nightly and the RC and I can't reproduce the errors in the logs nor do I see obvious missing strings in the About dialog window. Is that a platform specific bug maybe? (I am on Linux)

Edit: I am seeing the warnings in the console in an en-US build, but not in an fr build

I see the update-manual string in the fr langpack for 114.0.20230529.85652 (crxviewer for update-manual). I don't know why it's there when it was removed from en-US.
Flod mentioned that the translation is still present in all l10n repositories (https://phabricator.services.mozilla.com/D179320#5917838), so I'm going to land the fix (and request uplift) without landing the second "Fluent migration" follow-up patch.

Flags: needinfo?(rob)
Attachment #9336328 - Attachment is obsolete: true
Flags: qe-verify+
Attached image image.png (obsolete) —

Hello!
I can see the warnings mentioned in comment 0 after opening the Application Menu > Help > About Nightly with Firefox 115.0a1 (2023-05-29) en-US on Windows 10x64, macOS 12, and Ubuntu 20.04. The warnings are displayed each time the About dialog is opened.

The warnings are not displayed when opening the About Firefox dialog with Firefox 114.0 (20230529085652) en-US on Windows 10x64, macOS 12, or Ubuntu 20.04. Also, I cannot observe any obvious missing strings in the About dialog window. Attached a screenshot.
If more information is needed please let me know.

Rob, will there be an actual functional regression experienced by end-users on the release channel or is the log spam in the console the only side effect of this bug for end-users? Given that this is a P1/S2 I am trying to understand if this is a release blocker and if we need to uplift a fix asap and rebuild our Release Candidate. Thanks.

Flags: needinfo?(rob)

If this is indeed a release blocker, can we back out safely from mozilla-release from a code and l10n POV? (adding a needinfo to flod for the l10n impact)

Flags: needinfo?(francesco.lodolo)

I think it might be safer for localization to uplift this than backing out the original patch (the string is still there).

With that said, I don't think this has a practical impact for users, only a warning displayed in console.

Flags: needinfo?(francesco.lodolo)

(In reply to Francesco Lodolo [:flod] from comment #12)

I think it might be safer for localization to uplift this than backing out the original patch (the string is still there).

With that said, I don't think this has a practical impact for users, only a warning displayed in console.

Gijs, is that still a S2 given flod's evaluation of the impact? I do have an RC2 planned for today/tomorrow for another bug but I would prefer to uplift ride-alogns that have already landed in Nightly. Could we uplift into the planned dot release mid-cycle instead?

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Francesco Lodolo [:flod] from comment #12)

With that said, I don't think this has a practical impact for users, only a warning displayed in console.

I'm confused. If the string is missing it's not displayed, so presumably we display nothing in its place, if/when users hit the "manual update" case. Am I missing something there?

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(francesco.lodolo)

(In reply to :Gijs (he/him) from comment #14)

(In reply to Francesco Lodolo [:flod] from comment #12)

With that said, I don't think this has a practical impact for users, only a warning displayed in console.

I'm confused. If the string is missing it's not displayed, so presumably we display nothing in its place, if/when users hit the "manual update" case. Am I missing something there?

No, faulty memory on my side. We are not showing the string with the manual link to download, so there is user impact.

P.S. I think we are showing the string in the app menu, which is what confused me

Flags: needinfo?(francesco.lodolo)
Attached image Mising message

Missing manual download message and link.

Attachment #9336519 - Attachment is obsolete: true

(In reply to Pascal Chevrel:pascalc from comment #13)

(In reply to Francesco Lodolo [:flod] from comment #12)

I think it might be safer for localization to uplift this than backing out the original patch (the string is still there).

With that said, I don't think this has a practical impact for users, only a warning displayed in console.

Gijs, is that still a S2 given flod's evaluation of the impact? I do have an RC2 planned for today/tomorrow for another bug but I would prefer to uplift ride-alogns that have already landed in Nightly. Could we uplift into the planned dot release mid-cycle instead?

So this would affect users that open the about dialog when for whatever reason the update system has decided that they need to manually download a new version (ie automated update doesn't quite work for whatever reason). They would not see any message in the window telling them what to do. I've attached a simulated screenshot of this in nightly.

Off-hand it doesn't look like we have telemetry for the about window. I don't know how many users see the manual update flow on average, and how many would see the menu (which as flod said will work) and how many would encounter this in the about dialog. non-en-US users look like they won't be affected. So perhaps based on all this it's OK to wait for the dot release? I think this is up to release drivers. :-)

Meant to needinfo for my previous comment. :-)

Flags: needinfo?(pascalc)

Given that we have a respin planned, I could wait a few hours to make sure it doesn't get backed out and take this patch as a ride-along

Flags: needinfo?(pascalc)
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

Comment on attachment 9336327 [details]
Bug 1835561 - Restore update-manual message + add test

Beta/Release Uplift Approval Request

  • User impact if declined: Broken upgrade feature in some cases for en-US builds
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Restore a string in en-US locale
  • String changes made/needed: yes
  • Is Android affected?: No

(I added the uplift request myself as I need to land the patch to the branch asap for RC2)

Attachment #9336327 - Flags: approval-mozilla-release?

Comment on attachment 9336327 [details]
Bug 1835561 - Restore update-manual message + add test

Approved for our RC2

Flags: needinfo?(rob)
Attachment #9336327 - Flags: approval-mozilla-release? → approval-mozilla-release+

Hello! I tried reproducing this today but I don’t know what steps should I use in order to do this. I’m not sure which update message should be displayed from the screenshot from comment 16. I have also seen the snippet from bug 1835559, description but I think the message may be different from the screenshot from comment 16. At least with that snippet on an affected build only the link is missing and the Unable to check for updates due to internal error. Updates available at message is displayed and in the comment 16 screenshot, there is no message displayed.

I have also verified that the warning messages stated in comment 0 are no longer displayed in the browser console when opening App Menu > Help > About Firefox/ Nightly with Firefox 114.0 RC2 (20230530221313) and Firefox 115.0a1 (20230530213234) on Windows 10x64, macOS 12 and Ubuntu 20.04. However, these warning messages were displayed only on the Nightly affected builds and not on 114.0RC1

Are there any manual steps that can be used in order to properly reproduce/ verify this? Thank you in advance.

Flags: needinfo?(rob)

To manually verify whether the message is there, run the following snippet from the Browser Console:
Services.wm.getEnumerator("Browser:About").getNext().document.querySelectorAll(".manualLink")[0].parentNode.innerHTML

On my (old) Nightly that's affected, the output is:
' <label xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="manualLink text-link" is="text-link" data-l10n-name="manual-link" href="https://www.mozilla.org/en-US/firefox/nightly/?reason=manual-update">https://www.mozilla.org/en-US/firefox/nightly/</label> '

On Release (without the regression, Firefox 113), the output is:
'Updates available at <label xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="manualLink text-link" is="text-link" data-l10n-name="manual-link" href="https://www.mozilla.org/en-US/firefox/new?reason=manual-update"/>'

Flags: needinfo?(rob)

This issue is Verified as fixed in our latest RC and Nightly builds.
Thank you for the Browser Console snippet @Rob Wu. I will update the flags for this issue.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: 1811826
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: