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

Bug 358636

Summary: Resource Review item /anomalies cannot be added from compare editor when non R4E file input are used
Product: z_Archived Reporter: Sebastien Dubois <sebastien.dubois>
Component: MylynAssignee: Project Inbox <r4e-triaged>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: P3 CC: fchouinard, lmcbout
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 399536    

Description Sebastien Dubois CLA 2011-09-22 13:59:31 EDT
Resource Review item cannot be added from compare editor
Comment 1 Sebastien Dubois CLA 2011-09-23 17:53:40 EDT
Only when the files compared are not already within R4E

This is also the same case for anomalies when added from the compare editor on a non-R4E file
Comment 2 Jacques Bouthillier CLA 2012-06-22 09:58:15 EDT
The following exception is thrown and an error pop up is displayed when attempting to clone an anomaly from 
a compare editor which does not have an R4E Content associated to it


!ENTRY org.eclipse.mylyn.reviews.r4e.ui 4 0 2012-06-21 10:03:40.568
!MESSAGE Exception: org.eclipse.core.runtime.CoreException: Invalid input class org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput
!STACK 1
org.eclipse.core.runtime.CoreException: Invalid input class org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.CommandUtils.getBaseFileData(CommandUtils.java:263)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.AnomalyUtils.addAnomalyFromText(AnomalyUtils.java:115)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.CloneAnomalyHandler$1.run(CloneAnomalyHandler.java:108)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.mylyn.reviews.r4e.ui 4 0 2012-06-21 10:03:40.568
!MESSAGE Invalid input class org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn