It's all about the answers!

Ask a question

RTC: Why is the attribute name shown on the workitem editor instead of the attribute label when it is required?


Maria Victoria Martinez Torino (14924559) | asked Apr 25 '14, 3:05 p.m.
Hi,
I am using RTC (both eclipse and web clients) 4.0.6 although this is an known issue for issue for quite some time.
Here's my problem:
Let's say I want to the change the label of the OOTB "Filed Against" attribute to "Category", so I do the following:
1) Go to the Project Configuration -> Configuration Data --> Work Items - > Editor Presentations
2) Choose the editor presentation to be edited, then select the attribute and set Label (Option) to "Category", as it is shown in the following picture:


3) Save the changes on the Project Area.
4) Create a work item using the attribute recently modified and having the "Filed Against" attribute labeled as "Category" as required on creation. I do not fill that field.
5) Then, when try to save the work item, the system throws a message on screen asking me to set the required attribute, but instead of showing the new label on the message, it shows the "real name" of the attribute, as I shown here:



So my questions are:
1) Is this a bug or a tool limitation? If not,
2) Is there any other way to get the "desired label" shown on that message instead of the "real name" of the attribute?

I will appreciate any kind of guidance you can point me out.

Thanks!
Vicky

Comments
sam detweiler commented Apr 25 '14, 4:24 p.m. | edited Apr 25 '14, 4:49 p.m.

it is a bug really.. the code that issues the error has the field name hard coded. but
I don't know how it would get the label.   its not tied to the attribute, its tied to the presentation layout.

all my plugins have the same bug.  (different fields)


Susan Hanson commented Apr 25 '14, 7:44 p.m.

I believe you will also see this in the Query Builder ... if you want to build a query based on this, I believe you have to use the "Filed Against" attribute, not the "Category" label.  As Sam mentioned, the label is tied to the presentation layout, not to the attribute in underlying object, which still has the same "Name" which is what is used.

One answer



permanent link
Maria Victoria Martinez Torino (14924559) | answered Apr 29 '14, 4:42 p.m.
Raised Defect 314061 in the Rational Team Concert project.

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.