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 235546 - run custom maven goal - remember as should be disabled by checkbox
Summary: run custom maven goal - remember as should be disabled by checkbox
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Windows 8
: P4 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-05 08:23 UTC by mhankus
Modified: 2013-10-09 09:08 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 mhankus 2013-09-05 08:23:52 UTC
This is trivial bug, but it happened to me many times. That is why I'm reporting this.

When you want to run custom maven goal (right click on project -> Custom -> Goals ...) window is shown. this window allows you to save this cusom goal. 
Problem is that it looks like

[checkbox] Remember as: [field]

All is active. It happened many times, that I entered something in textfield, but have not selected checkbox so my custom goal was not save. 

There are two options to solve this

1. Remove checkbox  (if "remember as" field is not empty, then save this)
or
2. Disable field if checkbox is not selected - so entering custom goal label is not possible.
Comment 1 Milos Kleint 2013-09-05 08:34:52 UTC
thanks for reporting,
just a minor ui glitch -> P4 , variant where user disables the checkbox *and* writes name in the textfield is a noop, nothing gets broken (right?)
Comment 2 mhankus 2013-09-05 08:40:02 UTC
Variant 2, is easier to fix - because this is only UI code (disable textfield, and enable it only when user checks the checkbox) - so nothing should be broken
Comment 3 Milos Kleint 2013-09-05 09:59:31 UTC
http://hg.netbeans.org/core-main/rev/00e4065ae42f
Comment 4 mhankus 2013-10-09 09:02:12 UTC
I'm not sure If it should be fixed in 7.4RC1, but it is not.
Comment 5 Milos Kleint 2013-10-09 09:05:27 UTC
(In reply to mhankus from comment #4)
> I'm not sure If it should be fixed in 7.4RC1, but it is not.

no, Target Milestone -> Next means it's after 7.4