Closed Bug 434022 Opened 17 years ago Closed 16 years ago

error pasting link in livejournal wisiwig editor

Categories

(Firefox :: General, defect)

3.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: axch, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5 When I paste link in WYSIWYG editor firefox broke it. Like a - I paste link in dialog window "myspace.com" but in HTML tab i see <a href="javascript:void(0);/*1210930828398*/"> and in post it link is broken. Also, after that, wisiwig's dialog window sometimes appear again and again while writing post. In firefox 2 it works correctly. Reproducible: Always Steps to Reproduce: 1. create account in livejournal.com 2. go to http://www.livejournal.com/update.bml 3. open visual tab in wisiwig editor and type something 4. select it and click the "paste link" button 5. in dialog window paste any link in url field, then ok 6. open HTML tab and you can see broken link 7. if you click one or two times on the textarea field in HTML tab, you'll see paste link dialog again 8. also, if you try to send this post to your journal, link will be broken too. Actual Results: open HTML tab and you can see broken link paste link dialog window sometimes appear again and again if you try to send this post to your journal, link will be broken. Expected Results: links must pastes correctly. Dialog window must not appers Sorry for my english
this bug is in Firefox 3 release candidate 1 too.
This bug is in Firefox 3 beta 5 under Linux Ubuntu 8.04
OS: Mac OS X → All
And in Firefox 3 rc1 under Windows XP SP2 too
I can reproduce this bug in release version of Firefox 3 In error console and in firebug i can see this message: Error: uncaught exception: [Exception... "Node cannot be used in a document other than the one in which it was created" code: "4" nsresult: "0x80530004 (NS_ERROR_DOM_WRONG_DOCUMENT_ERR)" location: "http://www.livejournal.com/stc/fck/editor/js/fckeditorcode_gecko_2.js Line: 16"] Is this bug related to importNode function (for nodes created in another document)? But http://developer.mozilla.org/en/docs/DOM:document.importNode says what this is not enforced now!
Hardware: PC → All
Version: unspecified → 3.0 Branch
I can also reproduce this bug in the release version of Firefox 3.0. It's a regression, because the previous version of Firefox did not have this problem. In the recipe above, step 4 should read, "select it and click the 'Insert/Edit Link' button"
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
If no patch landed correct resolution is - WFM
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.