Last modified: 2014-04-02 20:30:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57540, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55540 - VisualEditor: Broken link creation workflow
VisualEditor: Broken link creation workflow
Status: RESOLVED WORKSFORME
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-09 23:34 UTC by Jon
Modified: 2014-04-02 20:30 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2013-10-09 23:34:16 UTC
I'm not sure exactly how I cause this bug but I've seen it twice now.

Works somewhat like this:
Click anywhere in the textarea and ensure there is whitespace before the cursor and nothing highlighted.

Click the link button
enter text, save it.

The link doesn't get added anywhere and now clicking the link button to create a new link has no effect.

I get JavaScript exception:
Uncaught Error: Offset could not be translated to a DOM element and offset: 6306
Comment 1 Ed Sanders 2013-10-22 14:57:45 UTC
This is difficult to look into without steps to reproduce. Let us know if you see it again, and how.
Comment 2 Jon 2013-10-22 18:56:16 UTC
Yeh I know.. I was hoping the Javascript exception would help debug somewhat. I managed to make it happen twice but haven't done so recently. Any clues from that exception to when it might occur?
Comment 3 Ed Sanders 2013-10-23 12:11:43 UTC
Yes, that exception only throws from one place, and the high number looks like it's trying to find a position beyond the end of the document, but I can't reproduce.
Comment 4 James Forrester 2014-04-02 20:30:49 UTC
Can't replicate. Closing for now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links