Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-21764 Duplicates of environment variables should be forbidden #985

Closed
wants to merge 1 commit into from

Conversation

scabanovich
Copy link
Contributor

No description provided.

@@ -30,13 +31,16 @@
+ "including the character '_', allowed anywhere except first position.";

private final IStatus FAILED;
private static final IStatus NAME_IS_USED_ERROR = ValidationStatus.error("An enviaronment variable with this name exists");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/enviaronment/environment
s/exists/already exists

@adietish
Copy link
Member

works for me, +1

@adietish
Copy link
Member

btw. the standard in OpenShift is to decorate required empty fields with a "*", not with an error marker.

        ControlDecorationSupport.create(
                newApplicationNameValidator, SWT.LEFT | SWT.TOP, null, new RequiredControlDecorationUpdater());

and return ValidationStatus.cancel() in case a required field is empty. Will result in a * decoration

@adietish
Copy link
Member

rebased and merged into master, cherry-picked to jbosstools-4.3.x

@adietish adietish closed this Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants