Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358577 - R4E Informal review cannot adjust the RANK
Summary: R4E Informal review cannot adjust the RANK
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 08:58 EDT by Jacques Bouthillier CLA
Modified: 2013-01-24 16:38 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-09-22 08:58:50 EDT
Create an anomaly, then try to modify the RANK
The following error occurs and I am  not able to open the R4E property view anymore
java.lang.ClassCastException: org.eclipse.ui.forms.widgets.LayoutComposite cannot be cast to org.eclipse.swt.custom.ScrolledComposite
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.UIUtils$1.modifyText(UIUtils.java:260)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
	at org.eclipse.swt.widgets.Text.setText(Text.java:2175)
	at org.eclipse.swt.widgets.Text.setText(Text.java:2111)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.properties.tabbed.AnomalyTabPropertySection.refresh(AnomalyTabPropertySection.java:947)
Comment 1 Jacques Bouthillier CLA 2011-09-22 11:24:02 EDT
I cannot modified any fields from the R4E property view after the anomaly has been created on the LINUX environment. It affects the Due date, Rule ID. I need to restart Eclipse each time
Comment 2 Sebastien Dubois CLA 2011-09-22 17:39:03 EDT
The exception is now fixed.  I'm not totally happy with the layout of Anomalies Property tab but that will do for now
Comment 3 Jacques Bouthillier CLA 2011-09-23 07:36:37 EDT
Modify the RANK and CLASS do not generate any errors, but when changing it, the review property view loses the window scroll bar, so some data is not accessible anymore. You can use the mouse wheel to navigate until you modified the anomaly state, then the mouse wheel is not scrolling anymore. Resizing eclipse will set the scroll eventually, when you reduce the eclipse to a minimum size (When the editor is completely not visible), then the scroll for the R4E property view appears again.
Comment 4 Sebastien Dubois CLA 2011-09-23 18:26:18 EDT
Decreasing priority as the problem remaining is a display problem on linux only that has a workaround
Comment 5 Alvaro Sanchez-Leon CLA 2012-04-18 20:04:33 EDT
Shall not be in Assigned state if assigned to default r4e-triaged
Comment 6 Sebastien Dubois CLA 2013-01-24 16:38:31 EST
THis seems to be fixed as of now.