Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Spaces in IDs for custom workitem attributes

I noticed a rather odd inconsistency in RTC. When I create a new custom work item attribute from the web client and name it something like:

"My Awesome Custom Attribute"

the default ID is automatically

"My Awesome Custom Attribute"

But, if I try to do the same thing in the Eclipse client, the default ID is only

"My"

If I try to put a space in the ID for the custom attribute in the Eclipse client I'm presented an error that states "Whitespaces are not allowed in the ID"

I find it interesting that when I look at the custom attributes I've created in the web client that have spaces in the IDs they still show up fine in the list of attributes in the client.

What's the risk of continuing in my space loving ways for custom work item attribute IDs? At some point am I going to find that I've shot myself in the foot?

0 votes


Accepted answer

Permanent link
Hi,

I am not sure what actually happens if you have spaces in ID's. I have always made sure not to use spaces. I am also all for a good consistent naming schema I tyically use something like "com.myorg.attribute.custom.atributename". It makes life easier if you follow such a convention.

Your post indicates the biggest potential problem already. There are different clients and if, as indicated by the Eclipse client, spaces are not allowed you could run into problems because the match algorithms might work slightly different.

You could create a defect for the web client allowing to use spaces, since the behavior is different from the Eclipse client.
Patrick Wagstrom selected this answer as the correct answer

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 03 '12, 1:29 p.m.

Question was seen: 3,587 times

Last updated: May 03 '12, 1:29 p.m.

Confirmation Cancel Confirm