Page MenuHomePhabricator

Translate: Can't save translation
Closed, ResolvedPublic

Description

I can't save a translated message on https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate possible caused by a javascript error. Below are two errors with their stacktraces and what I saw happening. Submitting them together as it the same error message and same action I took. Stacktraces and messages are copied from the console of Firebug in Firefox 22, Win7.


https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate
after submitting the translation: box closes, displaying "saving...", next box opens

TypeError: $.ime.sources[inputmethodId] is undefined
https://translatewiki.net/w/load.php?debug=false&lang=de&modules=ext.translate.base%2Cdropdownmenu%2Ceditor%2Cgroupselector%2Chooks%2Cloader%2Cmessagetable%2Cnavitoggle%2Cparsers%2Cstatsbar%2Ctabgroup%2Cworkflowselector%7Cext.translate.special.translate%7Cext.uls.i18n%2Cime%2Cinit%2Cinterface%2Clanguagenames%2Cpreferences%2Cwebfonts%7Cext.uls.webfonts.repository%7Cjquery.appear%2Cautosize%2Cclient%2Ccookie%2CdelayedBind%2Ci18n%2CjStorage%2Cjson%2CmakeCollapsible%2CmwExtension%2Ctextchange%2Ctipsy%2Culs%2Cwebfonts%7Cjquery.ui.position.custom%7Cjquery.uls.data%2Cgrid%7Cmediawiki.Title%2CUri%2Capi%2Ccldr%2CjqueryMsg%2Clanguage%2Cnotify%2Cuser%2Cutil%7Cmediawiki.api.edit%2Cparse%7Cmediawiki.language.data%2Cinit%7Cmediawiki.legacy.ajax%2Cwikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.startup%7Cskins.vector.js&skin=vector&version=20130802T003152Z&*
Line 13

Stacktrace:
TypeError: $.ime.sources[inputmethodId] is undefined

  • (?)(e=Object { originalEvent=Event click, type="click", timeStamp=30810509, mehr...}) load.p...3152Z&* (Zeile 13)
  • dispatch(event=Object { originalEvent=Event click, type="click", timeStamp=30810509, mehr...}) load.p...092629Z (Zeile 45)
  • eventHandle(e=click clientX=353, clientY=482) load.p...092629Z (Zeile 38)

...sage.translation){$pasteOriginalButton.addClass('hide');}$editingButtonBlock=$('... load.p...3152Z&* (Zeile 13)


https://translatewiki.net/wiki/Special:Translate?filter=!translated&action=translate
after submitting the translation: box does NOT close, next box opens

TypeError: $.ime.sources[inputmethodId] is undefined
https://translatewiki.net/w/load.php?debug=false&lang=de&modules=jquery%2Cmediawiki%7Ctwn.jserrorlog&only=scripts&skin=vector&version=20130801T092629Z
Line 81

Stacktrace:
TypeError: $.ime.sources[inputmethodId] is undefined

  • anonymous()load.p...092629Z (Zeile 81)
  • anonymous()load.p...092629Z (Zeile 85)
  • anonymous()load.p...092629Z (Zeile 82)
  • anonymous()load.p...4020Z&* (Zeile 147)
  • anonymous()load.p...4020Z&* (Zeile 148)

...lters=setFilters.prototype=Expr.pseudos;Expr.setFilters=new setFilters();Sizzle.... load.p...092629Z (Zeile 81)


Version: master
Severity: normal

Details

Reference
bz52434

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:45 AM
bzimport set Reference to bz52434.
bzimport added a subscriber: Unknown Object (MLST).

I cannot reproduce it. We used to have some JS problems with IME, but they should be resolved by now. If it happens again, please reopen this.

I was not able to reproduce this either by manually setting my ime to non-existing one.