Page MenuHomePhabricator

VisualEditor:The search spinner continues indefinitely for some search strings in Image Search textbox
Closed, ResolvedPublic

Description

screenshot

Steps to reproduce

1.Open a page with VE
2.Go to Insert>Media
3.Insert the search string "April"

Observed Result:

An error appears in the console:
Uncaught TypeError: Cannot read property '0' of undefined

and the search spinner continues indefinitely

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/w/index.php?title=14thfebchrome&veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-02-14_at_11.46.49_AM.png (622×1 px, 518 KB)

Details

Reference
bz61392

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:55 AM
bzimport set Reference to bz61392.

Change 113478 had a related patch set uploaded by Mooeypoo:
Only display image info if that exists

https://gerrit.wikimedia.org/r/113478

There is another error appearing while I search for hoo:
load.p...014333Z (line 583)
TypeError: this.data.imageinfo is undefined

Not Sure if it is related with this particular issue or not.

Change 113478 merged by jenkins-bot:
Only display image info if that exists

https://gerrit.wikimedia.org/r/113478

That, too, *should* be fixed with this commit.