Skip to content

Commit

Permalink
Fixes audit sampling filtereddataentry getting stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen committed Jan 4, 2024
1 parent a4ac478 commit 1aca149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Desktop/data/computedcolumnsmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ void ComputedColumnsModel::checkForDependentAnalyses(const std::string & columnN
stringset usedCols = analysis->usedVariables(),
createdCols = analysis->createdVariables();

//Dont create an infinite loop please
if(usedCols.count(columnName) && !createdCols.count(columnName))
//Dont create an infinite loop please, but do this only for non-computed columns created by an analysis (aka distributions, because otherwise it breaks things like planning from audit)
if(usedCols.count(columnName) && (!createdCols.count(columnName) || !DataSetPackage::pkg()->isColumnAnalysisNotComputed(columnName)))
{
bool allColsValidated = true;

Expand Down

0 comments on commit 1aca149

Please sign in to comment.