Page MenuHomePhabricator

[Regression wmf6] When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ]
Closed, ResolvedPublic8 Estimated Story Points

Description

Steps to reproduce:

1.Open a page with VE
2.Open the link inspector
3.Switch to "External link" section
4.Now type in an invalid external link such as "invalid link"
5.Click on Insert
6.Save the page

Observe that, on CE it is appearing as [invalid link]

Screen Shot 2015-05-11 at 6.54.49 PM.png (364×429 px, 28 KB)

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.
Ryasmeen renamed this task from When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ] to [Regression pre-wmf6]When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ].May 12 2015, 2:05 AM
Ryasmeen set Security to None.
Ryasmeen moved this task from To Triage to External and Administrivia on the VisualEditor board.
Jdforrester-WMF renamed this task from [Regression pre-wmf6]When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ] to [Regression pre-wmf6] When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ].May 12 2015, 5:42 PM
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF renamed this task from [Regression pre-wmf6] When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ] to [Regression wmf6] When an invalid text is entered as external link, it is appearing on the CE with square brackets [ ].May 21 2015, 2:18 PM

Change 214599 had a related patch set uploaded (by Esanders):
Disable 'done'/'insert' button when input invalid

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

Change 214600 had a related patch set uploaded (by Esanders):
Only create annotations from text input if it is valid

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

Change 214599 merged by jenkins-bot:
Disable 'done'/'insert' button when input invalid

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

Change 214600 merged by jenkins-bot:
Only create annotations from text input if it is valid

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