Closed Bug 1004229 Opened 10 years ago Closed 10 years ago

"TypeError: lastCommentDiv.parentNode is null" from inline history when the last comment is a 'duplicate' comment

Categories

(bugzilla.mozilla.org Graveyard :: Extensions: InlineHistory, defect)

Production
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gijs, Assigned: glob)

Details

e.g. bug 984589 doesn't show the reopening or the original marking as a duplicate.

The console shows:

TypeError: lastCommentDiv.parentNode is null

from

lastCommentDiv.parentNode.insertBefore(currentDiv, lastCommentDiv.nextSibling);


in inline-history:137
Component: Sandstone/Mozilla Skin → Extensions: InlineHistory
odd.  i see the resolution change and there's no javascript error.
gijs, do you have any firefox addons which interact with bugzilla installed (eg. bugzillaJS) ?
Flags: needinfo?(gijskruitbosch+bugs)
(In reply to Byron Jones ‹:glob› from comment #2)
> gijs, do you have any firefox addons which interact with bugzilla installed
> (eg. bugzillaJS) ?

No, and I can reproduce both on OS X and Windows (tested in safe mode on windows to be sure, but I only have DOMI installed in that profile), both with Fx 29.
Flags: needinfo?(gijskruitbosch+bugs)
this appears to be account related -- with gijs's permission i impersonated him and was able to replicate the issue.  i'll investigate this further.
Assignee: nobody → glob
this happens when the last comment on the page is a 'NNN has been marked as a duplicate of this bug' comment.  the div is removed by inline-history, but is later used to append new items to the end of the activity stream.

i wasn't seeing this issue because gijs's comment sorting order is different from mine.
Summary: Resolution changes don't show up → "TypeError: lastCommentDiv.parentNode is null" from inline history when the last comment is a 'duplicate' comment
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   261f42c..01350d7  master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.