#418 closed defect (bug) (fixed)
Trac Ticket Author Gravatar disappears when comment preview is created
| Reported by: | adamsilverstein | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trac | Keywords: | needs-patch |
| Cc: |
Description
When entering a response to a ticket in trac (Chrome Dev/Mac), I noticed that the Gravatar of the original ticket author disappears the first time a preview of my response is generated. I haven't investigated extensively, but here is a screencast of the issue. Note @jeremyfelt's Gravatar disappears when my comment preview is generated.
Change History (11)
#2
follow-ups:
↓ 3
↓ 4
@
12 years ago
- Resolution → wontfix
- Status new → closed
This isn't a simple fix, so I'm just going to wontfix this, just because it's not a big deal.
#3
in reply to: ↑ 2
@
12 years ago
Replying to nacin:
This isn't a simple fix, so I'm just going to wontfix this, just because it's not a big deal.
Ok, i will block the issue from my mind so I no longer see it :)
#4
in reply to: ↑ 2
;
follow-up:
↓ 6
@
12 years ago
Replying to nacin:
This isn't a simple fix, so I'm just going to wontfix this, just because it's not a big deal.
When I'm writing an initial reply to a ticket, I often go to the reporter's WP.org profile. The only link to the profile in that case is under the Gravatar, and when it disappears, it's a big deal for me :)
#5
@
12 years ago
- Resolution wontfix
- Status closed → reopened
OK. Maybe we could just restore it with a little CSS. I'd rather not override the ticket_box.html template, though we could do that pretty sanely, too. I'll look.
#6
in reply to: ↑ 4
@
12 years ago
- Cc added
Replying to SergeyBiryukov:
Replying to nacin:
This isn't a simple fix, so I'm just going to wontfix this, just because it's not a big deal.
When I'm writing an initial reply to a ticket, I often go to the reporter's WP.org profile. The only link to the profile in that case is under the Gravatar, and when it disappears, it's a big deal for me :)
Sergey,
Good point, I'm glad you brought that up.
I have to admit, the disappearing Gravatar wasn't something I was really going to be able to ignore :)
@nacin - if you want a JS solution/kludge that works without modifying anything server side, I can spin that up.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I tracked the issue down to this line:
$("#ticket").replaceWith(items.filter('#ticket'));
Here is what i think is happening - when the auto_preview.js fires its ajax callback, it hits the main url to get the page html, the reply from this call is missing the gravatar, so when the replaceWith fires, the gravatar is removed.
I discussed this issue with @nacin at #wcsea and he knows what the problem is and how to fix it.