Open Bug 1154890 Opened 9 years ago Updated 9 years ago

Some error tags are not detected by 012throwables.t

Categories

(Bugzilla :: Testing Suite, defect)

defect
Not set
minor

Tracking

()

Bugzilla 5.0

People

(Reporter: cedric.corazza, Unassigned)

References

Details

(Keywords: regression)

Using prove -v t/012throwables.t to check templates, the script warns about unused error tags in template/en/default/global/user-error.html.tmpl:

ok 217 - --WARNING template/en/default/global/user-error.html.tmpl has 3 unused error tag(s):
# user error tag 'passwords_dont_match' is defined at line(s) (1453) but is not used anywhere
# user error tag 'password_not_complex' is defined at line(s) (1466) but is not used anywhere
# user error tag 'password_too_short' is defined at line(s) (1457) but is not used anywhere

Though, I found some references of these tags in User.pm and WebService/Constants.pm for instance.
If not used, these references should be removed or 012throwables.t should be fixed.
It might be the same on trunk.
This is a problem due to bug 1009013. 012throwables.t is fine and doesn't need to be fixed. The problem is that bug 1009013 messed with the way error codes are detected.
Assignee: general → testing
Component: Bugzilla-General → Testing Suite
Depends on: 1009013
Keywords: regression
Summary: Unused error tags in template/en/default/global/user-error.html.tmpl → Some error tags are not detected by 012throwables.t
Target Milestone: --- → Bugzilla 5.0
You need to log in before you can comment on or make changes to this bug.