Opened 11 years ago
Last modified 8 years ago
#6640 new defect (bug)
Duplicate at-who element IDs in Activity Streams
| Reported by: | mercime | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Contributions |
| Component: | Activity | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Multiple instances of the following ids show up in Sitewide, Group, and Member activity streams:
<input type="hidden" id="_wpnonce_new_activity_comment" name="_wpnonce_new_activity_comment" value="135f85db1b">
and
<div class="atwho-view" id="at-view-64">
Attachments (1)
Change History (14)
#4
@
9 years ago
@mercime @DJPaul
Any reason not to update this library? We're presently at 0.5.2 and the latest release is 1.5.3
https://github.com/ichord/At.js
Other than compat testing/confirmation.
#5
@
9 years ago
@tw2113 Yes update both At.js and Caret.js. Per notice: "At.js depends on Caret.js."
#7
@
9 years ago
- Milestone Future Release → 3.0
Yes, both need updating. There might be some API change given the major part of that version has changed, so definitely check out the docs.
#9
@
9 years ago
Updated at-who scripts, those still appear in the markup. It's beyond my skill level with JS to understand why/what it's doing, so it'll remain until someone else looks at it (another couple of years, maybe! lol).
#10
@
9 years ago
I can't see how to reproduce the _wpnonce_new_activity_comment duplication (maybe we fixed it), so I'm going to rename this ticket appropriately.
#11
@
9 years ago
- Milestone 3.0 → Future Release
- Summary Duplicate IDs in Activity Streams → Duplicate at-who element IDs in Activity Streams
#12
@
8 years ago
I also ran into this issue with the atwho library creating a number of elements with the same ID. I'll attach a patch that solves the issue (by removing the ID assignment, because the IDs aren't used anyway).
Also note that I've created a ticket for that the nonce inputs with the duplicated IDs (I didn't see that this ticket existed). Please see the patch attached to that ticket: #8004
Thanks!
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
at-viewcoming from the jquery.atwho.js library. Probably should get that up to date first, then look at this (looks like there's a parameter we can set)