Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340080 - [dstore] empty string should not be allowed as a DataElement ID
Summary: [dstore] empty string should not be allowed as a DataElement ID
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340432
  Show dependency tree
 
Reported: 2011-03-15 15:20 EDT by David McKnight CLA
Modified: 2011-03-18 10:27 EDT (History)
0 users

See Also:


Attachments
patch to now allow for empty string id (1.22 KB, patch)
2011-03-15 15:21 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2011-03-15 15:20:00 EDT
While generating IDs for DataElements, "" is being accepted as valid as long as it's unique to the DataStore.  But this allows for elements representing different things on the client and the server to be created using the same ID.
Comment 1 David McKnight CLA 2011-03-15 15:21:43 EDT
Created attachment 191242 [details]
patch to now allow for empty string id
Comment 2 David McKnight CLA 2011-03-15 15:22:42 EDT
I've committed the fix to cvs.