Closed
Bug 763229
Opened 12 years ago
Closed 11 years ago
clicking on post editor buttons on mybb introduces a single [undefined=undefined]. Tag is undefined appears in error console
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: danialhorton, Unassigned)
References
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 Build ID: 20120609030536 Steps to reproduce: Went to edit a post on a forum with bold text via the button bar Actual results: [undefined=undefined] was wrapped around the selected text Expected results: [b] and [/b] should have been around the text
Reporter | ||
Updated•12 years ago
|
Summary: clicking on post editor buttons on mybb introduces a single [undefined=undefined] → clicking on post editor buttons on mybb introduces a single [undefined=undefined]. Tag is undefined error occurs in error console
Reporter | ||
Updated•12 years ago
|
Summary: clicking on post editor buttons on mybb introduces a single [undefined=undefined]. Tag is undefined error occurs in error console → clicking on post editor buttons on mybb introduces a single [undefined=undefined]. Tag is undefined appears in error console
Comment 1•12 years ago
|
||
Can you link to the page showing the problem? This sounds like a possible bug in the forum software, unless it's a regression...
Reporter | ||
Comment 2•12 years ago
|
||
http://community.mybb.com/thread-120204.html i posted to their software support board, but the issue is not reproducible under aurora, it only started after PGO Green merge after nightly went Fx 16.
Comment 3•12 years ago
|
||
Danial, if you can reproduce reliably, would you be willing to find a regression range on inbound?
Reporter | ||
Comment 4•12 years ago
|
||
i actually started testing on inbound when i noticed it, since the only big change to 16 was the PGO Green merge directly after 15 went to aurora branch. unfortunately i lack the time to really dig into inbound this week and maybe for most of next week.
Reporter | ||
Comment 5•12 years ago
|
||
MC Working 20120604030527 http://hg.mozilla.org/mozilla-central/rev/dd6ec482a85d Broken 20120606030528 http://hg.mozilla.org/mozilla-central/rev/6338a8988917 potentially https://bugzilla.mozilla.org/show_bug.cgi?id=761306 working on inbound now
Reporter | ||
Comment 6•12 years ago
|
||
MI Working 20120604040220 http://hg.mozilla.org/integration/mozilla-inbound/rev/778ba119ded6 Broken 20120605040222 http://hg.mozilla.org/integration/mozilla-inbound/rev/f56e2197d9cd
Updated•12 years ago
|
Component: General → Editor
QA Contact: general → editor
Comment 7•12 years ago
|
||
I did some initial investigation here. It actually doesn't seem like bug 761306 is at fault here, as none of the code that bug added is even called in this case. I'm bisecting the range right now.
Comment 8•12 years ago
|
||
The first bad revision is: changeset: 95807:28dd33748be5 user: David Zbarsky <dzbarsky@gmail.com> date: Mon Jun 04 16:49:57 2012 -0700 summary: Bug 591467 - Implement HTML5 Microdata API r=bz
Updated•12 years ago
|
Keywords: regression
Reporter | ||
Comment 9•12 years ago
|
||
thanks Ehsan
Comment 10•12 years ago
|
||
Interesting. Is the page using one of the property names the microdata API defines? Ehsan, what page were you testing on?
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 11•12 years ago
|
||
Boris, clicking Reply on the forum thread i linked (account required) brings up the full post editor, the bold, italic, and all other font and format + bbcode items on the editor toolbar produce [undefined=undefined] in the post text box. The first time you click one of the buttons, you may get the bbcode to load, but clicking any button after this will produce the [undefined=undefined] and an error in the error console
Comment 12•12 years ago
|
||
Account, sigh. Anyway, I got one. The relevant bits are in http://community.mybb.com/jscripts/editor.js?ver=1600 and look like this: dropdown.itemType = options.type; ... if(!element.itemType) element = this.getElementToolbarItem(element); ... button.itemType = options.type; Since the microdata API adds an itemType property that returns objects (e.g. element.itemType will never test false now), this code's behavior certainly changed. I bet simply removing itemType from HTMLElement would fix this site. If so, our options are to break this site and evangelize or to get the spec changed. My preference is somewhat for the latter.
Comment 13•12 years ago
|
||
I hope this one can be evanged. I have filed an OTW bug in Opera's bug database to hopefully help with that.
Comment 14•12 years ago
|
||
Danial, have you already contacted the script authors, or should I try to?
Reporter | ||
Comment 15•12 years ago
|
||
Yeah, got their typical reponse "We won't fix a bug that exists for in-development browsers." I can't expect much from a group of "mostly kids" playing developers
Comment 16•12 years ago
|
||
Fun. Well, it's a bug in shipping Opera, and it'll be a bug in shipping Firefox soon enough.... And WebKit is working on this too, iirc. The big question is whether this is the only page on the web using .itemType.....
Comment 17•12 years ago
|
||
Of the "top 10,000" from http://www.paciellogroup.com/blog/2012/04/html5-accessibility-chops-data-for-the-masses/ $ grep -aPhc "\.itemType([\s=;,]|$)" stevef-all 0 From http://dotnetdotcom.org/ $ grep -aPh "\.itemType([\s=;,]|$)" web200904 bookmark.itemType = ITEM_TYPE_BOOKMARK; bookmark.itemType = ITEM_TYPE_BOOKMARK; bookmark.itemType = ITEM_TYPE_BOOKMARK; bookmark.itemType = ITEM_TYPE_BOOKMARK; This is from one page, http://www.diigo.com/list/levendleren/voorbeeld which now has ditem.itemType = ITEM_TYPE_DITEM; but AFAICT from the script, ditem is not an element. Note: none of these data sets include external scripts, but it usually is a pretty good indicator anyway.
Comment 18•12 years ago
|
||
It is? It only takes one reasonably common external script to royally screw you over if you base your decisions on data like that....
Comment 19•12 years ago
|
||
Feel free to research external scripts. :-)
Comment 20•12 years ago
|
||
In case it might be of any help, I too am experiencing the issue with a Mybb forum, per the OP: Danial Horton 2012-06-09 14:10:30 PDT Summary: clicking on post editor buttons on mybb introduces a single [undefined=undefined] Though I can't be sure, it does seem likely to have begun with Ff Nightly 16 and is still the case with 16.0a1 (2012-07-11). It's been happening for a coupla weeks now for me. This is the website: http://marcstevens.net/board/index.php
Reporter | ||
Comment 21•12 years ago
|
||
Its something MyBB has to fix on their end, opera is also affected.
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Comment 22•12 years ago
|
||
Based on comment 21 I'm untracking this for 16 since it seems like there's nothing for us to do here. Please re-nominate if that changes.
Comment 23•12 years ago
|
||
Well, what we needed to do for 16 was either back out or evangelize. Did we do either one?
Comment 24•12 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #23) > Well, what we needed to do for 16 was either back out or evangelize. Did we > do either one? No, seems like we untracked it in comment 22 and then just dropped the ball. :(
Updated•12 years ago
|
Assignee: nobody → english-us
Component: DOM → English US
Product: Core → Tech Evangelism
Version: Trunk → unspecified
Comment 27•12 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #23) > Well, what we needed to do for 16 was either back out or evangelize. Did we > do either one? We don't have the bandwidth to evangelize every issue, and this doesn't really qualify as critical. This will be fixed in mybb 1.6.9 - http://dev.mybb.com/issues/2092.
Reporter | ||
Comment 28•11 years ago
|
||
can someone resolve this as fixed?
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
Comment hidden (spam) |
You need to log in
before you can comment on or make changes to this bug.
Description
•