Skip to content
Permalink
Browse files
ATLAS-4441:#2 UI , Regression, Business Metadata : Unable to add alph…
…anumeric to BM attribute of type string, fixed

Signed-off-by: Pinal Shah <pinal.shah@freestoneinfotech.com>
  • Loading branch information
pawarprasad123 authored and pinal-shah committed Oct 1, 2021
1 parent a0e08b5 commit dbdc4225706ff40b0bc1a81a6d8cdc4a93fe53ae
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
@@ -292,7 +292,7 @@ define(['require',
data: this.json,
success: function(model, response) {
Utils.notifySuccess({
content: "One or more Business Metadada attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
content: "One or more Business Metadata attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
});
if (model.businessMetadataDefs && model.businessMetadataDefs.length) {
that.selectedBusinessMetadata.set(model.businessMetadataDefs[0]);
@@ -233,7 +233,7 @@ define(['require',
multiple: selectEl.data("multi"),
createTag: function(params) {
var option = params.term;
if ($.isNumeric(option)) {
if ($.isNumeric(option) || (typeName === "array<string>" && _.isString(option))) {
return {
id: option,
text: option
@@ -191,7 +191,7 @@ define([
type: "POST",
success: function(data) {
Utils.notifySuccess({
content: "One or more Business Metadada attributes" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
content: "One or more Business Metadata attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
});
that.entity.businessAttributes = data;
that.ui.businessMetadataTree.html("");
@@ -292,7 +292,7 @@ define(['require',
data: this.json,
success: function(model, response) {
Utils.notifySuccess({
content: "One or more Business Metadada attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
content: "One or more Business Metadata attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
});
if (model.businessMetadataDefs && model.businessMetadataDefs.length) {
that.selectedBusinessMetadata.set(model.businessMetadataDefs[0]);
@@ -234,7 +234,7 @@ define(['require',
multiple: selectEl.data("multi"),
createTag: function(params) {
var option = params.term;
if ($.isNumeric(option)) {
if ($.isNumeric(option) || (typeName === "array<string>" && _.isString(option))) {
return {
id: option,
text: option
@@ -191,7 +191,7 @@ define([
type: "POST",
success: function(data) {
Utils.notifySuccess({
content: "One or more Business Metadada attributes" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
content: "One or more Business Metadata attribute" + Messages.getAbbreviationMsg(true, 'editSuccessMessage')
});
that.entity.businessAttributes = data;
that.ui.businessMetadataTree.html("");

0 comments on commit dbdc422

Please sign in to comment.