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

Bug 130574

Summary: Add option to record unknown feature when load EMF resource
Product: z_Archived Reporter: Bianca Jiang <bjiang>
Component: TPTPAssignee: Bianca Jiang <bjiang>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: jptoomey
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to FacadeResourceImpl.java file
none
patch to EMFUtil.java file none

Description Bianca Jiang CLA 2006-03-06 11:46:47 EST
Whenever there's new features in data model added, there's this issue of backward compatibility -- loading EMF resources containing new features with older version of TPTP. The older version of TPTP should handle this case gracefully. Right now, it'll fail to load resource with unrecognized features. Resource.load(Map options) has an option to ignore unrecognized feature. It should be used.

Mark, can you please assign this to me. Thanks. - Bianca
Comment 1 Mark D Dunn CLA 2006-03-06 13:36:35 EST
Reassign to Bianca per her request.
Comment 2 Bianca Jiang CLA 2006-03-06 17:24:57 EST
Created attachment 35791 [details]
patch to FacadeResourceImpl.java file
Comment 3 Bianca Jiang CLA 2006-03-06 17:25:14 EST
Created attachment 35792 [details]
patch to EMFUtil.java file
Comment 4 Bianca Jiang CLA 2006-03-06 17:26:09 EST
Hi, Joe, patch files attached, can you please review before i check in?  thanks. - Bianca
Comment 5 Bianca Jiang CLA 2006-03-13 10:04:17 EST
Without this fix, any older version of TPTP will fail to open any resources with new attributes in Test editors. Raising severity to blocker.
Comment 6 Marius Slavescu CLA 2006-03-13 11:16:59 EST
Bianca, this will work only with TPTP 4.2 and up, any older TPTP verisons will still not be able to load the new resources.
Comment 7 Bianca Jiang CLA 2006-03-13 11:36:31 EST
Fix checked into 4.2. Requesting patch TPTP 3.3 and later for consuming products.
Comment 8 Bianca Jiang CLA 2006-03-27 10:40:32 EST
Opened Bug 133373 to track the patching of 3.3 when a patch release is available.
Comment 9 Paul Slauenwhite CLA 2006-11-16 08:59:39 EST
ACTION: Please verify/close this defect.
Comment 10 Paul Slauenwhite CLA 2007-02-12 12:58:20 EST
Closing by default since not closed by the originator in the 7+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the resolution is not correct.