Page MenuHomePhabricator

[testwiki-1.31.0-wmf.2] 'Uncaught Error: Title is mandatory parameter' error when another language is selected in New translation box
Closed, ResolvedPublic

Description

  1. On Translation page click on 'New translation'
  2. Without entering any text, click on the language tab and select another language. The following error will be displayed:
Uncaught Error: Title is mandatory parameter
 at CXSourceSelector.getPageInfo (<anonymous>:251:604)
 at CXSourceSelector.sourceLanguageChangeHandler (<anonymous>:242:106)
 at ULS.onSelect (<anonymous>:257:118)
 at ULS.select (<anonymous>:161:116)
 at HTMLLIElement.proxy
 at HTMLLIElement.<anonymous> (<anonymous>:169:556)
 at HTMLDivElement.dispatch
 at HTMLDivElement.elemData.handle

Screen Shot 2017-10-03 at 4.53.40 PM.png (559×1 px, 194 KB)

Event Timeline

Yes, I know about this. Looks weird, but this is intentionally made to throw error.

One of my pending patches fixes the case that causes error to be thrown when actually not necessary. Once merged, I will report to check again on this ticket.

Yes, I know about this. Looks weird, but this is intentionally made to throw error.

One of my pending patches fixes the case that causes error to be thrown when actually not necessary. Once merged, I will report to check again on this ticket.

The patch I was talking about got merged. @Etonkovidova, can you recheck, please?