Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358636 - Resource Review item /anomalies cannot be added from compare editor when non R4E file input are used
Summary: Resource Review item /anomalies cannot be added from compare editor when non ...
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 399536
  Show dependency tree
 
Reported: 2011-09-22 13:59 EDT by Sebastien Dubois CLA
Modified: 2013-01-30 13:58 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 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