Skip to content

Commit

Permalink
[FIX] Error creating new Option on model containing an Option Depende…
Browse files Browse the repository at this point in the history
…nt Parameter; fixes #351
  • Loading branch information
lxatstariongroup authored May 21, 2024
1 parent 4653ea8 commit a03d153
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private void CreateParameterOverrideValueSetsAndParameterSubscriptionValueSets(N
throw new KeyNotFoundException($"The Parameter with iid {container.Parameter} could not be found");
}

var defaultValueArray = this.DefaultValueArrayFactory.CreateDefaultValueArray(container.Parameter);
var defaultValueArray = this.DefaultValueArrayFactory.CreateDefaultValueArray(parameter.ParameterType);

// get all the ParameterSubscriptions that are contained by the container ParameterOverride, for each of these subscriptions additional ParameterSubscriptionValueSets will be created as well
var containerParameterSubscriptions = this.ParameterSubscriptionService.GetShallow(transaction, partition, container.ParameterSubscription, securityContext).Cast<ParameterSubscription>().ToList();
Expand Down

0 comments on commit a03d153

Please sign in to comment.