Open Bug 1755241 Opened 3 years ago Updated 3 years ago

SecureMail breaks Preferences page

Categories

(Bugzilla :: Extensions, defect)

5.0.6
defect

Tracking

()

UNCONFIRMED

People

(Reporter: systems, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Steps to reproduce:

When the extension is enabled, the preferences page are only blank

Actual results:

Only an blank page will shown. In the apache log file, no errors are logged.

Expected results:

That I can set the preferences.

I have what may be the same problem. I was using SecureMail with bugzilla-4.2.1, and the preferences worked fine. After upgrading to bugzilla-4.4.13, the SecureMail tab under preferences renders nothing, although the other preference tabs work correctly. Verified by disabling/enabling that the extension is being loaded, and I can verify that the template is compiled. Also verified that the Apache error_log contains no errors.

Extensions are usually version specific. Did you upgrade SecureMail as well? (Not sure if there were upgrades available). I know bugzilla.mozilla.org uses it, which means there is a working copy for Harmony (will eventually be Bugzilla 6). If it doesn't work in 4.4.x, 5.0.x, or 5.2.x then we might need to do some updating to it.

The parent repo for SecureMail looks like it only goes up to version 4.0 (look at the available branches). I'm guessing "master" is the 4.2 version. :|

The Harmony repo appears to have SecureMail shipped with core, so there's already a 6.0 version, but no 4.4/5.0/5.2 versions....

Dave - based on your helpful comments, I did some more digging. After looking at the version of SecureMail in the Harmony repo, I found a reference to Bug #1513087, which seems like the problem the original poster had, but did not fix my problem. I found another instance on the web of someone who was unable to view the SecureMail 4.0 tab within Bugzilla 4.4, with no resolution. I tested the Example extension, and realized that it does not render the preferences tab either. I hacked template/en/default/account/prefs/prefs.html.tmpl to explicitly reference the securemail tab, and now it works.

An upgrade to Bugzilla 5.x (or 6.x) is long overdue.

Thanks for your comments.

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

Attachment

General

Creator:
Created:
Updated:
Size: