Bug 1017021

Summary: Properties tab for components are not shown properly when new component is inserted
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Sedlacek <jsedlace>
Component: CamelAssignee: kconner
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Podhradsky <apodhrad>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, ldimaggi, lhein, oskutka, soa-p-jira
Target Milestone: ER8   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
eclipse log none

Description Jiri Sedlacek 2013-10-09 07:26:54 UTC
My steps:
1. create new switchyard project
2. open switchyard.xml in editor
3. add camel route (xml)
4. open route.xml in graphical editor
5. add some new component (e.g. log endpoint)
6. click on some component to alter properties - properties tab is not updated.

Comment 1 Lars Heinemann 2013-10-10 20:31:19 UTC
Could you try to do it again and then have a look at the console / error log to see if there are some exceptions?
Also I know that the properties view has some toolbar button which makes the view stick to the last selection. ("Pin this property view to the last selection" is the tooltip) 
Could you check if that was enabled? If yes, please disable it.

Comment 2 Jiri Sedlacek 2013-10-11 05:48:19 UTC
Created attachment 810870 [details]
eclipse log

what is printed to the eclipse .log when Log endpoint is inserted is in the attached file.

Comment 3 Jiri Sedlacek 2013-10-11 05:53:11 UTC
"Pin this property view to the last selection" was disabled.

another way how to reach not updated properties tab: 

5. click some components (properties can be edited now)
6. switch properties tab to console tab and back, now properties cannot be edited, even if component is still selected
7. if you select different component, properties are still not there

Comment 4 Lars Heinemann 2013-10-11 06:06:45 UTC
In the log file you find several stack traces like that:

java.lang.UnsupportedOperationException: Please use DataMapping.getBusinessObject(PictogramLink link)

Can you check if this exception occurs when you select a component to show it in the properties tab?

Comment 5 Jiri Sedlacek 2013-10-11 06:45:50 UTC
it does, please see https://bugzilla.redhat.com/show_bug.cgi?id=1017006

Comment 6 Lars Heinemann 2013-10-11 06:48:36 UTC
I saw this issue too, thats why I asked if those two bugs could be related. In my opinion this bug here is just a follow up fault of the 1017006 issue.

Comment 7 kconner 2013-11-12 15:37:01 UTC
From Lars' comment this would appear to be another symptom of 1017006 which has been addressed.

Comment 8 Andrej Podhradsky 2014-01-16 17:19:41 UTC
Verified with JBDS-IS 7.0.0.CR2