Last modified: 2013-12-30 10:09:46 UTC
Steps to reproduce: 1.Open the editor. 2.Add a template 3.Save the page 4.Reopen the editor 5.Copy the template Observed Result: It gives an error:Uncaught TypeError: Cannot convert null to object .However, it does get pasted correctly onto other VE.
Test Environment: production-https://en.wikipedia.org/ Browser: Chrome Version 26.0.1410.65 & FF 25 OS: MAC OS X 10. 8. 5
Created attachment 14077 [details] screenshot
Can you reproduce on beta labs?
Change 101148 had a related patch set uploaded by Esanders: Check values property exists before remove attribute https://gerrit.wikimedia.org/r/101148
For betalabs, I could reproduce for only templates which has parameters with values
Change 101148 merged by jenkins-bot: Check values property exists before removing attribute https://gerrit.wikimedia.org/r/101148
Verified the fix in betalabs:http://en.wikipedia.beta.wmflabs.org/wiki/The_destination_template
Verified the fix in test2 with MediaWiki 1.23wmf8 on page: https://test2.wikipedia.org/wiki/19th_december