Commit 461e793a authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Little bugfix

parent c98b3201
Pipeline #115 passed with stage
in 10 seconds
......@@ -325,7 +325,10 @@ public class TapSchema implements EntitiesContainer<Schema>, Serializable {
*/
@Override
public List<String> getAddableChildrenNames() {
return TSMUtil.getAddableChildrenNames(schemas);
List<String> addables = TSMUtil.getAddableChildrenNames(schemas);
addables = new ArrayList<>(addables); // list returned by previous method is unmodified
addables.remove(getName()); // TAP_SCHEMA insertion must be managed by TASMAN
return addables;
}
/**
......
......@@ -25,7 +25,7 @@
<div class="form-group">
<h:outputLabel for="username" class="col-sm-3 control-label">Username</h:outputLabel>
<div class="col-sm-9">
<h:inputSecret class="form-control" id="username" value="#{login.username}" onkeypress="credentials.loginClicked(event)" required="true" requiredMessage="Insert the username" />
<h:inputText class="form-control" id="username" value="#{login.username}" onkeypress="credentials.loginClicked(event)" required="true" requiredMessage="Insert the username" />
<p class="text-danger"><h:message for="username"/></p>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment