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

Custom Attribute Presentatio: Large String as Text is blank

Hi,

I have defined a custom attribute with "large string" type.
I'm binding it to text presentation.
In RTC 1.0.1 it was working, but after migration to 2.0 the text disaapear.
(Using String presentation shows the data but with text type the presentation is blank).

Thanks,
Moti

0 votes



6 answers

Permanent link
I have find out the problem.
Setting the presentation to "Description" kind solves it.

0 votes


Permanent link
I am running into the same issue. The problem with using Description is that it doesn't display my line feeds correctly. I also notice that it displays fine in the Web UI.

0 votes


Permanent link
Hi
Using 'Description' as presentation kind is not recommended as the underlying attribute is of type 'large string' and not 'html'. The 'text' kind is the correct one and it works fine for me. If it does not for you, please file a defect against the Work Items/Eclipse UI/Editor category and attach your process specification source.

Regards

Marcel
Jazz Work Item team

0 votes


Permanent link
I can confirm I have this exact same problem - thank goodness it has already been raised by this post as I was wondering how something like this could have slipped through and thought I must be mad. I have spent a while trying to debug the problem and had concluded that it seemed like it is a bug in RTC.

More information in how I recreated/'solved' the problem:

This problem occurs for me with a custom attribute of type 'String' (haven't tried 'mediumString' or 'shortString') when it's added to a section (as the Text presentation type) with no other presentations added in the same section

If I add another presentation to the same section then the custom' attribute's text appears correctly in the Text presentation (irrespective of whether the 2nd presentation was added before or after it in the section).

To confirm what others have said, if I changed the presentation type to HTML (or String, or small HTML or description) then the text was displayed so it seems like an issue with the Text presentation type itself.

Another change I noticed that with only 1 presentation in the section, the label for the Text does not show. But this appears to be as designed because it is not needed as the section title should accurately describe it. I verified this by just adding a Boolean custom attribute and it also didn't have a label when it was the only presentation in the section.

0 votes


Permanent link
And just tested the web UI, it doesn't affect the web UI display of the field, the text is displayed correctly even when no text is displayed in the Eclipse client.

0 votes


Permanent link
Thanks for the investigations.
I have created work item 94004 https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/94004 to track the issue.

Regards

Marcel
Jazz Work Item team

0 votes

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: Aug 18 '09, 3:01 a.m.

Question was seen: 6,723 times

Last updated: Aug 18 '09, 3:01 a.m.

Confirmation Cancel Confirm