Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Turn off propagation when no option is specified on a tag, fix multi-select bug #63

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class CSVReader @JvmOverloads constructor(path: String, fieldSeparator: Char = '
if (assets.delete.isNotEmpty()) {
deferDeletes[id]!![asset.guid] = assets.delete
}
// TODO: Handle non-idempotent Atlan tags
} catch (e: AtlanException) {
logger.error("Unable to load batch.", e)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class DropDown(
) {
private class DropDownWidget(
label: String,
mode: String,
val mode: String,
hidden: Boolean = false,
help: String = "",
grid: Int,
Expand Down
3 changes: 3 additions & 0 deletions serde/src/main/kotlin/xformers/cell/AtlanTagXformer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ object AtlanTagXformer {
"HIERARCHY_ONLY" -> builder.propagate(true).removePropagationsOnEntityDelete(true).restrictPropagationThroughLineage(true)
else -> builder.propagate(false)
}
} else {
// If there is no propagation option specified, turn off propagation
builder.propagate(false)
}
return builder.build()
}
Expand Down