Skip to content
Merged
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 @@ -1051,10 +1051,7 @@ private void addObsVarsToDatasetDetails(PendingImportObject<BrAPIListDetails> pi
referencedTraits.forEach(trait -> {
String id = Utilities.appendProgramKey(trait.getObservationVariableName(), program.getKey());

// Don't append the key if connected to a brapi service operating with legacy data(no appended program key)
if (trait.getFullName() == null) {
id = trait.getObservationVariableName();
}
// TODO - Don't append the key if connected to a brapi service operating with legacy data(no appended program key)

if (!details.getData().contains(id) && ImportObjectState.EXISTING != pio.getState()) {
details.getData().add(id);
Expand Down