It's all about the answers!

Ask a question

An existing Work Item template get deleted after importing a new Work Item template


Eric Jodet (6.3k5111120) | asked Sep 03 '12, 10:37 a.m.
JAZZ DEVELOPER
I am using RTC 4.0 to create and use work item templates.
I created a couple of templates, which contain Chinese chars.
Now I want to rename templates.
To achieve this, I export the template as XML, and then I use Notepad to change the template's name.
I then use the Template import to re-import the template into RTC.
However, I found that in some cases, some templates were deleted.
Is this a bug?

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Sep 03 '12, 10:41 a.m.
JAZZ DEVELOPER
I finally found the origin of my issue: the currently supported encoding for XML Templates is UTF-8 no BOM (which I verified is the encoding in the RTC exported template).
if I use Notepad++ to edit and save the file - encoding remains UTF-8 no BOM - and issue is not present.
if I use Notepad to edit and save the file - encoding is changed by Notepad to UTF-8 which seems to cause the issue.

So the workaround to my issue is to preserve the UTF-8 no BOM encoding by NOT using Notepad and rather use Notepad++.

Also note that Ability to import work item templates with XML encoded as UTF-8 BOM (212753)
should improve such behavior.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.