Bug 534202 - Quickfix not working in Properties Views
Summary: Quickfix not working in Properties Views
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 5.1.1   Edit
Hardware: All All
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-04-30 05:15 EDT by Frédéric Madiot CLA
Modified: 2018-11-20 11:32 EST (History)
2 users (show)

See Also:


Attachments
The project to reproduce the bug (5.67 KB, application/x-zip-compressed)
2018-04-30 05:15 EDT, Frédéric Madiot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Madiot CLA 2018-04-30 05:15:48 EDT
Created attachment 273857 [details]
The project to reproduce the bug

Quickfixes have no effect when applied from a Properties View.

See project in attachment: 
- apply the viewpoint "Quickfix" on an Ecore Modeling project
- select a EPackage
- set its name to '' -> an error appears in the 'Page' tab of the Properties View
- click on the error -> a dialog appears with the 'setXXName' quickfix
- select the quickfix 'setXXName' -> nothing happens (it should set the name to 'XX')
Comment 1 Loris Boiteux CLA 2018-11-20 11:32:28 EST
Hi

In addition to Frederic reporting: 

I tried to debug the class (an AbstractExternalJavaAction) we provide to org.eclipse.sirius.externalJavaAction but when I trig the fix action in my properties view, it never goes in execute(..) and canExecute(..) methods.

That is why nothing happens when we select our fix.