Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340080

Summary: [dstore] empty string should not be allowed as a DataElement ID
Product: [Tools] Target Management Reporter: David McKnight <dmcknigh>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 340432    
Attachments:
Description Flags
patch to now allow for empty string id none

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.