[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1968) Eclipse ruleflow editor cut, copy and paste operations appear to be allowed but do not work
Shahad Ahmed (JIRA)
jira-events at lists.jboss.org
Thu Feb 26 11:22:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shahad Ahmed updated JBRULES-1968:
----------------------------------
Attachment: drools_eclipse_edit_menu.JPG
Essentially what I am seeing is that the Cut, Copy and Paste options are not disabled in the Edit menu of an Eclipse RuleFlow Editor when a ruleflow node is currently selected. I've attached a partial screenshot (drools_eclipse_edit_menu.jpg) that shows a selected action node in a RuleFlow editor and the fact that in the Edit menu the Cut, Copy and Paste options are available instead of being disabled.
This is observed under the following setup:
I'm using the official set of Drools 5.0.0.M5 IDE Eclipse 3.4 plugins downloaded directly from the JBoss Drools Download page.
Windows XP Professional SP3,
Eclipse Version: 3.4.1 Build id: M20080911-1700
Sun JDK 1.5.0_15
To reproduce:
1. Create a new ruleflow file within a Drools Eclipse project. E.g. with a start, action and end node in the flow.
2. Select the action node you created in the ruleflow editor.
3. Click on the Edit menu in Eclipse and observe that the Cut, Copy and Paste menu options are not disabled.
Consequently, the user gets the impression these operations are supported, even though they are not (hence the error message I reported earlier in the eclipse log).
> Eclipse ruleflow editor cut, copy and paste operations appear to be allowed but do not work
> -------------------------------------------------------------------------------------------
>
> Key: JBRULES-1968
> URL: https://jira.jboss.org/jira/browse/JBRULES-1968
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-eclipse, drools-eclipse (expert), drools-eclipse (flow)
> Affects Versions: 5.0.0.M5
> Reporter: Shahad Ahmed
> Assignee: Kris Verlaenen
> Attachments: drools_eclipse_edit_menu.JPG
>
>
> The Edit menu in the drools eclipse plugin contains options to Cut, Copy and Paste nodes for a ruleflow editor. However, these operations do not work in the editor and cause exceptions to be reported in the eclipse log. For example, if you attempt to copy a ruleflow node then you get the following error on the eclipse log:
> !ENTRY org.eclipse.ui 4 4 2009-02-12 13:40:16.843
> !MESSAGE Failed to execute item copy
> !STACK 0
> org.eclipse.core.commands.NotHandledException: There is no handler to execute for command org.eclipse.ui.edit.copy
> I assume the Ruleflow editor is not intended to support cut, copy and paste of nodes as was the case in Drools 4, and that this is simply a minor bug to do with the cut, copy and paste menu options not being greyed out, as in drools v4 plugin.
> Of course, it would be nice to have cut, copy and paste for ruleflow nodes, so perhaps this JIRA could be reclassified as a feature request, if appropriate.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list