Last modified: 2014-09-16 21:00:42 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 T72888, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70888 - VisualEditor: "Uncaught TypeError: Cannot read property 'getSurface' of null" when applying a heading format on citation
VisualEditor: "Uncaught TypeError: Cannot read property 'getSurface' of null"...
Status: NEW
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All Windows XP
: Unprioritized minor
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-16 16:47 UTC by Ritu Swain
Modified: 2014-09-16 21:00 UTC (History)
5 users (show)

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


Attachments
screenshot (2.22 MB, image/bmp)
2014-09-16 16:47 UTC, Ritu Swain
Details

Description Ritu Swain 2014-09-16 16:47:57 UTC
Created attachment 16488 [details]
screenshot

Environment- Test2, beta, production

Highlight a citation and select any text style from the drop-down. I get "Uncaught TypeError: Cannot read property 'getSurface' of null".
Comment 1 Rummana Yasmeen 2014-09-16 18:01:43 UTC
I could reproduce it while applying the text style, but the heading styles on Citation,your screenshot also matches with the later case.
Comment 2 Rummana Yasmeen 2014-09-16 18:02:00 UTC
(In reply to Rummana Yasmeen from comment #1)
> I could not reproduce it while applying the text style, but the heading styles
> on Citation,your screenshot also matches with the later case.
Comment 3 Ritu Swain 2014-09-16 19:43:33 UTC
(In reply to Rummana Yasmeen from comment #1)
> I could reproduce it while applying the text style, but the heading styles
> on Citation,your screenshot also matches with the later case.

Rummana,it happens when the citation is highlighted and i change the text style to anything(not just Heading). In the screenshot, i had changed the style from paragraph to Heading, while the citation was highlighted.
Comment 4 Rummana Yasmeen 2014-09-16 20:03:31 UTC
(In reply to Ritu Swain from comment #3)
> (In reply to Rummana Yasmeen from comment #1)
> > I could reproduce it while applying the text style, but the heading styles
> > on Citation,your screenshot also matches with the later case.
> 
> Rummana,it happens when the citation is highlighted and i change the text
> style to anything(not just Heading). In the screenshot, i had changed the
> style from paragraph to Heading, while the citation was highlighted.

Ritu, yes that is what I am referring to by "applying Heading Style" which includes any of those heading formats (Heading,sub-heading 1 etc). By "Text style", I thought you are referring to text formatting (Bold/Italic etc), which I think is not how you reproduced this issue?
Comment 5 Ritu Swain 2014-09-16 21:00:42 UTC
(In reply to Rummana Yasmeen from comment #4)
> (In reply to Ritu Swain from comment #3)
> > (In reply to Rummana Yasmeen from comment #1)
> > > I could reproduce it while applying the text style, but the heading styles
> > > on Citation,your screenshot also matches with the later case.
> > 
> > Rummana,it happens when the citation is highlighted and i change the text
> > style to anything(not just Heading). In the screenshot, i had changed the
> > style from paragraph to Heading, while the citation was highlighted.
> 
> Ritu, yes that is what I am referring to by "applying Heading Style" which
> includes any of those heading formats (Heading,sub-heading 1 etc). By "Text
> style", I thought you are referring to text formatting (Bold/Italic etc),
> which I think is not how you reproduced this issue?

i am not in front of my system to actually check it. but yes by "Text Style" i meant the headings and not the font styles.

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


Navigation
Links