This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220590 - Run Target action is twice in Options->Keymap
Summary: Run Target action is twice in Options->Keymap
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 14:47 UTC by Milutin Kristofic
Modified: 2012-10-25 10:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2012-10-22 14:47:05 UTC
Two actions:
org-apache-tools-ant-module-nodes-RunTargetsAction
org-apache-tools-ant-module-run-RunTargetAction

has same ActionId name. You can consider to create one action that understand context where it is called.
Comment 1 Milutin Kristofic 2012-10-22 14:49:44 UTC
There is similar bug in #220591
Comment 2 Milos Kleint 2012-10-23 12:00:07 UTC
what exactly is the problem here? I'm unconvinced I should change code I don't fully understand without considering the consequences, we have so many layers in the action system I lost track long time ago. In this case one class is ActionListener, the other SystemAction, does it matter? what do all the annotations do?
Comment 3 Milutin Kristofic 2012-10-23 12:10:54 UTC
The problem is simple, in Bug #213269  - user is complaining that there are duplicate actions in option-> keymap

Martin fixed this in Bug #220591
Comment 4 Milos Kleint 2012-10-24 07:12:47 UTC
http://hg.netbeans.org/core-main/rev/8e49846cd8e7
Comment 5 Quality Engineering 2012-10-25 10:49:23 UTC
Integrated into 'main-golden', will be available in build *201210250921* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8e49846cd8e7
User: Milos Kleint <mkleint@netbeans.org>
Log: #220590 merge 2 actions into one to avoid the duplicate registration