Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 215236 - [Usability] Logical and physical names for test assets is confusing.
Summary: [Usability] Logical and physical names for test assets is confusing.
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 166025
  Show dependency tree
 
Reported: 2008-01-14 11:30 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 11:00 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 Paul Slauenwhite CLA 2008-01-14 11:30:25 EST
Replace logical name with physical name for test assets.

Test assets (or more accurately, their resources) have a logical name and physical name, which may be different causing confusion with users.  Regarding the benefit (if any) of the logical name for a test asset and determine if it could can be the same as the physical name, the logical resource name was created since all test resources extend from a common EMF class called org.eclipse.hyades.models.common.common.CMNNamedElement.java with ID, name, and description properties.  There is no tangible benefit to keeping separate logical and physical names.  

The logical name can be replaced by the physical name by overriding the getName() to resolve the physical name of the resource and updating all of the editors to not allow the user edit the name of the resource (e.g. read-only).
Comment 1 Harm Sluiman CLA 2008-01-14 18:58:31 EST
I am not sure wha tis being proposed here since there are a lot of assertions in the description.

It is pretty common practice to give artifacts logical and physical names in order to separate file and location names from the name a user wants to use. This is very useful in move and rename operations that affect references etc.. Defaulting them to be the same, or perhaps hiding physical names from normal user action is  one thing but this seems to assert there is no value at all.

Since this is a "bug"zilla, what problem is being solved.
Comment 2 Paul Slauenwhite CLA 2008-01-17 09:15:12 EST
(In reply to comment #1)
> I am not sure wha tis being proposed here since there are a lot of assertions
> in the description.
> 
> It is pretty common practice to give artifacts logical and physical names in
> order to separate file and location names from the name a user wants to use.
> This is very useful in move and rename operations that affect references etc..
> Defaulting them to be the same, or perhaps hiding physical names from normal
> user action is  one thing but this seems to assert there is no value at all.
> 
> Since this is a "bug"zilla, what problem is being solved.
> 

The problem is an usability issue.  From a user perspective, it is confusing that test assets (for example, test suites) have two names.  As part of the work for enhancement 166025, we are considering the opportunity to reduce this confusion and simplify several of the use cases.  Of course, we need to verify the impact of this change on our consumers and broader user community. 
Comment 3 Paul Slauenwhite CLA 2008-02-25 12:58:21 EST
Kent, does your consuming product require logical names for test assets?
Comment 4 Harm Sluiman CLA 2008-02-25 14:02:12 EST
> The problem is an usability issue.  From a user perspective, it is confusing
> that test assets (for example, test suites) have two names.  As part of the
> work for enhancement 166025, we are considering the opportunity to reduce this
> confusion and simplify several of the use cases.  Of course, we need to verify
> the impact of this change on our consumers and broader user community. 
> 

This is not just about consuming products, it is about changing the design and intended behavior/features of the model. As I noted there is a very specific reason to have the two ways of referencing the object. In fact there is good argument that the logical name is the one the user should always see. If there is a desire to not expose both names all the time, then perhaps consider a preferences to extension configuration to suppress either of them. But overriding the code makes the dual name feature meaningless.
Comment 5 Paul Slauenwhite CLA 2008-03-03 10:49:35 EST
(In reply to comment #4)

> This is not just about consuming products, it is about changing the design and
> intended behavior/features of the model. As I noted there is a very specific
> reason to have the two ways of referencing the object. In fact there is good
> argument that the logical name is the one the user should always see. If there
> is a desire to not expose both names all the time, then perhaps consider a
> preferences to extension configuration to suppress either of them. But
> overriding the code makes the dual name feature meaningless.

Agreed.  A preference will be provided under defect 160485 to allow the user to select between displaying the logical (default) or file name of a test asset in the Test Perspective, views, wizards, dialogs, etc..

Comment 6 Paul Slauenwhite CLA 2008-05-27 14:42:10 EDT
Closing.