Closed
Bug 227213
Opened 21 years ago
Closed 21 years ago
Chomping murder in token emails and pages
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: kiko, Assigned: kiko)
References
Details
Attachments
(2 files, 1 obsolete file)
4.30 KB,
patch
|
jouni
:
review+
|
Details | Diff | Splinter Review |
1.89 KB,
patch
|
jouni
:
review+
|
Details | Diff | Splinter Review |
Trivial chomping issue when receiving token emails:
If you do nothing, the request will lapse after3 days
(17:16 on the 4th of December, 2003) or when you log in successfully.
I've found two instances. Patch coming up.
Assignee | ||
Updated•21 years ago
|
Assignee: preed → kiko
OS: Linux → All
Hardware: PC → All
Assignee | ||
Comment 1•21 years ago
|
||
I've found a couple of errors, so I'll add multiple patches. Here's a trivial
one for messages.html.tmpl.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 136609 [details] [diff] [review]
part 1: messages.html.tmpl
This covers errors in some of the messages that are displayed after the token
email is generated, as well as some code that suffers from the same problem in
that file. It's tiny and limited to adding +s to [%s.
Attachment #136609 -
Flags: review?(preed)
Assignee | ||
Updated•21 years ago
|
Summary: Chomping murder in token emails → Chomping murder in token emails and pages
Assignee | ||
Comment 3•21 years ago
|
||
This second patch covers the email messages. Template-only, though I did two
minor changes to wording. Tested to fix problem.
Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 136611 [details] [diff] [review]
part 2: fix email messages
I made sure we are consistently using [%+ where it could become a potential
problem after template customization/editing.
Attachment #136611 -
Flags: review?(preed)
Assignee | ||
Comment 5•21 years ago
|
||
Bother. Since I decided to fix "for the kiko@foo account" to (IMO correctly)
read "for the account kiko@foo" in part 2, here goes a consistent part 1.
Consistency is a hobgoblin, etc etc.
Attachment #136609 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #136613 -
Flags: review?(preed)
Assignee | ||
Updated•21 years ago
|
Attachment #136609 -
Flags: review?(preed)
Comment 6•21 years ago
|
||
*** Bug 226527 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 7•21 years ago
|
||
I've taken the liberty to add tje "You have ..." correction locally, should I
add part 2, take 2 or fix it while landing?
Comment 8•21 years ago
|
||
>I've taken the liberty to add tje "You have ..." correction locally, should I
>add part 2, take 2 or fix it while landing?
I don't know what you're talking about, so I suggest giving us a new patch. If
Jaypee or Dave can review this without seeing the change you mentioned, fine
with me. :-)
Comment 9•21 years ago
|
||
Comment on attachment 136613 [details] [diff] [review]
part 1, take 2: be consistent about "for account XXX"
r=jouni, but why we're using |FILTER html| in text messages (not like it was
you who added them, though)?
Attachment #136613 -
Flags: review?(preed) → review+
Assignee | ||
Comment 10•21 years ago
|
||
I think the reason is that there is just no other filter applicable. From
http://template-toolkit.org/docs/default/Modules/Template/Filters.html
I see that the html filter (which is basically what we do, along with swapping
@s for @s) just entitizes.
Jouni pointed out over IRC that perhaps an HTML email client will know how to
render them, but I always thought that text email was always rendered literally.
If someone has a strong opinion over it, I can remove the filters.
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•21 years ago
|
||
Jouni, wrt my cryptic "You have" comment:
The text at the beginning of forgotten-password was changed by justdave in bug
226527 to say "You have (or someone ... has)" which is gramatically "more
correct" -- I forgot to add it to attachment 136611 [details] [diff] [review] but I've added it locally
and I'll commit it when/if this is approved.
Comment 12•21 years ago
|
||
Comment on attachment 136611 [details] [diff] [review]
part 2: fix email messages
Ok, that wording change by Dave is fine with me. r=jouni
Attachment #136611 -
Flags: review?(preed) → review+
Assignee | ||
Comment 13•21 years ago
|
||
Justdave, let's get this in for the bmo updates, shall we?
Flags: approval?
Updated•21 years ago
|
Target Milestone: --- → Bugzilla 2.18
Updated•21 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 14•21 years ago
|
||
Thanks! One more bites the dust:
/cvsroot/mozilla/webtools/bugzilla/template/en/default/account/email/change-new.txt.tmpl,v
<-- change-new.txt.tmpl
new revision: 1.5; previous revision: 1.4
/cvsroot/mozilla/webtools/bugzilla/template/en/default/account/email/change-old.txt.tmpl,v
<-- change-old.txt.tmpl
new/cvsroot/mozilla/webtools/bugzilla/template/en/default/account/password/forgotten-password.txt.tmpl,v
<-- forgotten-password.txt.tmpl
new revision: 1.4; previous revision: 1.3
revision: 1.6; previous revision: 1.5
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/messages.html.tmpl,v
<-- messages.html.tmpl
new revision: 1.18; previous revision: 1.17
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•