Bug 468392 - [Model Explorer] New Relationship target dialog doesn't allow any selection
Summary: [Model Explorer] New Relationship target dialog doesn't allow any selection
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Views (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 15:39 EDT by Christian Damus CLA
Modified: 2018-06-08 10:46 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2015-05-26 15:39:47 EDT
Papyrus Mars RC1

The target selection dialog shown by the Model Explorer's New Relationship menu doesn't allow the selection of any NamedElement to complete a Trace or Refine relationship if the context package doesn't have the standard profile applied.  This is because the creation command is never executable because the stereotype is not applicable without the profile application.  But, the dialog doesn't know why the command isn't executable.

The dialog should either indicate to the user why a selection is not valid to complete the relationship, or the menu action for that relationship shouldn't be enabled in the first place in the case that the required profile is not applied.  The worst thing to do is to show a selection dialog that never accepts any selection and doesn't tell the user why.

(I could be called a subject-matter expert, and I couldn't guess that the reason for this was a missing profile application. I had to debug to characterize the problem)
Comment 1 Patrik Nandorf CLA 2015-06-09 03:18:04 EDT
Hi Christian,

Agree, this is not good. I'll look in to it.
Comment 2 Vincent Lorenzo CLA 2018-06-08 10:46:54 EDT
Still valid on Photon.