U4-6383 - Download all translation tasks as XML Error

Created by Craig Stevens 10 Mar 2015, 14:01:16 Updated by David Twamley 22 May 2015, 19:34:35

Is duplicated by: U4-6611

V7.2.2 translation taks pane. Clicking "Download all translation tasks as XML" produces the following error when logged in as the Translator with access to Translation section only OR to Translation and Content Sections only.


[NullReferenceException: Object reference not set to an instance of an object.] umbraco.cms.businesslogic.translation.Translation.CountWords(Int32 DocumentId) +173 umbraco.presentation.translation.xml.CreateTaskNode(Task t, XmlDocument xd) +324 umbraco.presentation.translation.xml.Page_Load(Object sender, EventArgs e) +640 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

The only way I can download the "all translation tasks as XML" is to view them when logged in as administrator and view all tasks created by me.

Download XML DTD doesn't work at all, just shows empty page: http://localhost:49168/umbraco/translation/translationTasks.dtd

Download of individual page xml files works fine.


Craig Stevens 03 Apr 2015, 12:46:57

Please see this our topic for similar issues: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/63101-Download-all-translation-tasks-as-XML-0-words

Paul Sterling 11 May 2015, 18:18:55

Once I added the missing DTD I was not able to repro this error. You can download it here https://github.com/umbraco/Umbraco-CMS/tree/ded1def8e2e7ea1a4fd0f849cc7a3f1f97cd8242/src/Umbraco.Web/umbraco.presentation/umbraco/translation

It looks like it's getting left out of the build...so will add a task to make sure it is included.

Sebastiaan Janssen 11 May 2015, 19:33:59

Commit made by '''Sebastiaan Janssen''' on ''2015-05-11T21:33:52+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/4ebc0fe4cf5bc370258f77c6f416d12658bfccda

U4-6383 Download all translation tasks as XML Error

#U4-6383 Fixed Due in version 7.2.5

David Twamley 22 May 2015, 19:34:35

Very similar issue filed here: http://issues.umbraco.org/issue/U4-6654

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.2.5


Story Points: