Last modified: 2014-03-01 00:51:22 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 T63525, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61525 - VisualEditor: Adding a left aligned image just before the reflist distorts the position of reflist and "Cannot call method 'getModel' of null " appears while trying to fix it by pressing return
VisualEditor: Adding a left aligned image just before the reflist distorts th...
Status: RESOLVED DUPLICATE of bug 59911
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-19 00:43 UTC by Rummana Yasmeen
Modified: 2014-03-01 00:51 UTC (History)
5 users (show)

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


Attachments
Screenshot (211.37 KB, image/png)
2014-02-19 00:43 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-02-19 00:43:02 UTC
Created attachment 14624 [details]
Screenshot

Steps to reproduce:


1.Open a page with VE
2.Add a text with reference
3.Add a reflist
4.Go to the next line of the text with reference and add an image
5.Go to the Media settings of the image and set the alignment to left(This should move the image between reference and reflist , instead it distorts the reflist position and it appears just beside the image instead of appearing below it)
6.Save the page
7.Reopen the page
8.Try to the position of reflist it by pressing enter 

Observed Result:
No newline gets entered , an error appears in the console:
Uncaught TypeError: Cannot call method 'getModel' of null 

See the screenshot attached

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/wiki/Anotherdeep?veaction=edit
Comment 1 Rummana Yasmeen 2014-02-20 00:39:27 UTC
This is also happening when the first element of a page is image and you try to press enter to go to the next line
Comment 2 Rummana Yasmeen 2014-02-20 00:44:21 UTC
(In reply to ryasmeen from comment #1)
> This is also happening when the first element of a page is image and you try
> to press enter to go to the next line

Correction: When the first element of a page is a left aligned image
Comment 3 Ed Sanders 2014-02-20 17:01:50 UTC
I don't see anything wrong with the rendering, it looks pretty similar to the PHP parser output. The pressing-enter-in-the-slug bug is a problem though.
Comment 4 James Forrester 2014-02-27 04:13:23 UTC
The pressing-enter-in-the-slug bug is I think bug 59911, so merging with that.

*** This bug has been marked as a duplicate of bug 59911 ***
Comment 5 Rummana Yasmeen 2014-03-01 00:51:22 UTC
This issue got resolved with  bug 59911

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


Navigation
Links