Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 61164 - Deployment: Datapool & Location name can be renamed to nothing. Location filename can be ".location" with no preceding text
Summary: Deployment: Datapool & Location name can be renamed to nothing. Location file...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jon Hoover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 162407 163978
  Show dependency tree
 
Reported: 2004-05-05 23:30 EDT by David Hodges CLA
Modified: 2012-02-14 16:39 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Hodges CLA 2004-05-05 23:30:44 EDT
1)  Create a new location by entering .location as the filename
2)  Enter a name of "foo" in the name field
3)  Close the location
4)  Reopen the location
5)  Edit the name field by deleting all characters, save and close
6)  Create a new datapool with filename foo.datapool and name "temp"
7)  Save and close datapool
8)  Open foo.datapool
9)  Edit the datapool name field by deleting all characters "temp", save and 
close.

The ability to have an empty-named artifact is illogical and confusing to the 
user.
Comment 1 Peter Sun CLA 2004-05-10 00:07:34 EDT
This problem is not limited to datapools or locations.  All assets in Hyades 
have this problem (suites, etc.)  This should be fixed globally in the next 
release.  We need warning strings that we cannot add currently due to PII 
freeze.
Comment 2 Bianca Jiang CLA 2004-08-10 11:20:52 EDT
There are a couple issues related to this defect:

1) validation of the file name in new wizard doesn't give an error when the 
name starts with '.'. -- this can be fixed easily.
2) no validation of the editing of display name in resource editors.
3) in Test Navigator, resource names shown there are not consistant - it shows 
the display name for some resource like test suite, and the file name for 
others like datapool, location, etc.
Comment 3 Bianca Jiang CLA 2004-08-10 17:47:46 EDT
submitted new defect Bug#:  71745  for inconsistancy with display names in Test 
Navigator.
Comment 4 Jon Hoover CLA 2004-09-15 13:47:37 EDT
This fix prevents the user from saving a file name for a location/artifact 
that begins with a period.
Comment 5 Jon Hoover CLA 2004-09-16 10:51:11 EDT
This fix prevents the user from saving a file name for a location/artifact 
that begins with a period.
Comment 6 Joe Toomey CLA 2004-10-05 08:27:02 EDT
correcting bugzilla target milestone -- setting back to 3.1 i2
Comment 7 Alex Bernstein CLA 2006-10-26 10:01:56 EDT
This defect needs to be reopen, or a new one needs to be submitted, for:

Assets are perimiited to be saved with empty names. This problem was mentioned in this defect but now there is no way to track it. Do you want to disallow empty names? Or is it a feature?
Comment 8 Paul Slauenwhite CLA 2006-10-26 10:20:45 EDT
(In reply to comment #7)

Alex, please open a new defect against TPTP (this defect was opened against Hyades).