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

hideIfEndpointEmpty does not hide Workflow State presentation

The Editor Presentation Property hideIfEndpointEmpty in the Web UI has a different name in the Eclipse UI: Hide if no link exists. In the Eclipse there is a list of link types to select. In the Web UI, the value field is free text so it is unclear whether it should have a link type or true/false

 In RTC V4.0.1 I have selected the Property: hideIfEndpointEmpty to have the values Parent and true in the Workflow State editor presentation. In the Eclipse editor I have set Hide if no link exists to Parent. This is to force a Defect to be associated with a work item before work on it begins. No matter the UI I use to set the value or the value selected, the workflow state still appears and is editable. Is there another step I need to take to hide it until it is linked?

0 votes



One answer

Permanent link
Hi Fred,

I don't think this was ever meant to be used for the state, however, since it is available, you should consider to file a defect or a PMR.

As a user, I would hate this kind of implementation. A better, but more expensive solution would be to write an advisor that prevents saving of the work item if there is no defect linked to it and provides a clear message also. See https://jazz.net/forum/questions/105644/can-not-change-contributor-list-type-and-duration-type-to-readonly/105789 for a similar question and some hints on how to proceed.

0 votes

Comments

 Adding an advisor may be a more elegant solution, but it has a couple of problems. I find it very annoying in RTC to update a work item only to get an error message when I try to save that I did it wrong. If I can be prevented from doing it in the first place that is preferable. Also, modifying the editor presentation is less invasive, so it presents fewer problems with new versions and other changes. To complete my description, I planned to present a message if there was no link selected. The message would be replaced by the workflow state when the link is selected.

I will file a PMR to have this enabled.

Interesting that the thread referenced above includes an additional comment that contains a link, https://jazz.net/library/article/808/ , that proposes essentially the same solution I asked about. 


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
× 12,019

Question asked: Mar 14 '13, 9:31 a.m.

Question was seen: 4,171 times

Last updated: Mar 18 '13, 2:06 p.m.

Confirmation Cancel Confirm