Missing space in "Throw away my changes, andrevisit bug NNN" message (when marking a bug as a duplicate of a hidden bug)
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
People
(Reporter: dholbert, Assigned: kohei)
Details
Attachments
(2 files)
STR:
- Mark bug A as a duplicate of bug B, where bug B is hidden and inaccessible to the reporter of bug A.
- Look at the UI that Bugzilla shows you for this action, regarding whether to CC the reporter on bug B.
ACTUAL RESULTS:
See screenshot -- the last line of the message says "andrevisit" -- it's missing a space.
EXPECTED RESULTS:
space between "and" & "revisit"
| Reporter | ||
Comment 1•5 months ago
•
|
||
In DevTools, if I right-click the <p> node and choose "edit-HTML", it shows that there's no whitespace between the word "and" and the <a open-link tag -- that's the issue here:
<p>
Throw away my changes, and<a class="bz_bug_link
bz_status_UNCONFIRMED" [...]>
However, in view-source (Ctrl+U), there's some indentation-whitespace before the <a> -- this is the relevant piece of view-source (notably shown with an li element in view-source, vs. with a p in the page's actual DOM in devtools):
<li>
Throw away my changes, and
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" [...]>
view-source kind of lies because it isn't what's literally getting rendered, because e.g. we end up with a p instead of an li as the wrapper here. Presumably there's some sort of processing pipeline that generates the actual DOM, and that pipeline is stripping out the indentation spaces before the <a> open-tag, and we need to do something to put a space there that won't be stripped out.
Comment 2•5 months ago
|
||
| Assignee | ||
Updated•5 months ago
|
Comment 4•5 months ago
|
||
Authored by https://github.com/kyoshino
https://github.com/mozilla-bteam/bmo/commit/3fcd5eb770aca07f8ffec34a8237cace275ab27f
[master] [skip ci] Bug 2031520 - Missing space in "Throw away my changes, andrevisit bug NNN" message (when marking a bug as a duplicate of a hidden bug)
Description
•