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

Summary: run custom maven goal - remember as should be disabled by checkbox
Product: projects Reporter: mhankus
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 7.4   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:

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