Closed Bug 893922 Opened 12 years ago Closed 12 years ago

checksetup.pl failes to locate the string 'feature_rest'

Categories

(Bugzilla :: Installation & Upgrading, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: andershol, Assigned: dkl)

References

Details

(Keywords: regression)

On a clean checkout of trunk, checksetup.pl now fails with the message: No language defines the string 'feature_rest' at Bugzilla/Install/Util.pm line 281, <DATA> chunk 558. I suspect this is related to bug 866927.
Blocks: 866927
Yep, happens when the feature is missing some dependencies.
No longer blocks: 866927
Status: UNCONFIRMED → NEW
Depends on: 866927
Ever confirmed: true
Keywords: regression
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → Bugzilla 5.0
Basicly, http://bzr.mozilla.org/bugzilla/trunk/annotate/head:/rest.cgi#L21 makes http://bzr.mozilla.org/bugzilla/trunk/annotate/head:/template/en/default/global/user-error.html.tmpl#L474 want to find a install_string() with id feature_rest, which obviously is missing from around http://bzr.mozilla.org/bugzilla/trunk/annotate/head:/template/en/default/setup/strings.txt.pl#L84. For bonus points, there should probably be a test to make sure all features have descriptions. Somehow.
Reason why checksetup.pl dies, is that http://bzr.mozilla.org/bugzilla/trunk/annotate/head:/Bugzilla/Install/Requirements.pm#L622 tries to show the translated name for the missing requirements table.
Sorry bout that. Fixed in trunk. Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk modified template/en/default/setup/strings.txt.pl Committed revision 8648. dkl
Assignee: installation → dkl
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.