Skip to content

Merge branch 'main' into feature/set-data-field-by-expression

00b87d5
Select commit
Loading
Failed to load commit list.
Open

Set data field by expression #1683

Merge branch 'main' into feature/set-data-field-by-expression
00b87d5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 26, 2026 in 44s

Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 272 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders in the logging message template

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBht&open=AZ5P64X1Drd5ojzLpBht&pullRequest=1683

Check failure on line 81 in src/Altinn.App.Core/Implementation/AppResourcesSI.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct the path from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64baDrd5ojzLpBh6&open=AZ5P64baDrd5ojzLpBh6&pullRequest=1683

Check warning on line 235 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders in the logging message template

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhs&open=AZ5P64X1Drd5ojzLpBhs&pullRequest=1683

Check warning on line 19 in src/Altinn.App.Core/Internal/Expressions/ExpressionEvaluator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64V8Drd5ojzLpBhX&open=AZ5P64V8Drd5ojzLpBhX&pullRequest=1683

Check warning on line 29 in src/Altinn.App.Core/Features/DataLists/InstanceDataListsFactory.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Loops should be simplified using the "Where" LINQ method

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64YdDrd5ojzLpBhw&open=AZ5P64YdDrd5ojzLpBhw&pullRequest=1683

Check warning on line 360 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBho&open=AZ5P64X1Drd5ojzLpBho&pullRequest=1683

Check warning on line 110 in src/Altinn.App.Core/Internal/Expressions/LayoutEvaluatorState.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64S9Drd5ojzLpBhS&open=AZ5P64S9Drd5ojzLpBhS&pullRequest=1683

Check warning on line 806 in src/Altinn.App.Core/Internal/Expressions/ExpressionEvaluator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Loops should be simplified using the "Where" LINQ method

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64V8Drd5ojzLpBhZ&open=AZ5P64V8Drd5ojzLpBhZ&pullRequest=1683

Check warning on line 163 in src/Altinn.App.Core/Features/DataProcessing/DataModelFieldCalculator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Collection initialization can be simplified

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64Z0Drd5ojzLpBhz&open=AZ5P64Z0Drd5ojzLpBhz&pullRequest=1683

Check warning on line 321 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhm&open=AZ5P64X1Drd5ojzLpBhm&pullRequest=1683

Check warning on line 278 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders in the logging message template

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhu&open=AZ5P64X1Drd5ojzLpBhu&pullRequest=1683

Check warning on line 276 in src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this 'TODO' comment.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64aGDrd5ojzLpBh0&open=AZ5P64aGDrd5ojzLpBh0&pullRequest=1683

Check warning on line 235 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhg&open=AZ5P64X1Drd5ojzLpBhg&pullRequest=1683

Check warning on line 294 in src/Altinn.App.Core/Internal/Data/IFormDataWrapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this 'TODO' comment.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64QmDrd5ojzLpBhO&open=AZ5P64QmDrd5ojzLpBhO&pullRequest=1683

Check warning on line 402 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders in the logging message template

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhv&open=AZ5P64X1Drd5ojzLpBhv&pullRequest=1683

Check failure on line 470 in src/Altinn.App.Core/Implementation/AppResourcesSI.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct the path from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64baDrd5ojzLpBh3&open=AZ5P64baDrd5ojzLpBh3&pullRequest=1683

Check warning on line 236 in src/Altinn.App.Core/Internal/Data/IFormDataWrapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64QmDrd5ojzLpBhN&open=AZ5P64QmDrd5ojzLpBhN&pullRequest=1683

Check warning on line 219 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhf&open=AZ5P64X1Drd5ojzLpBhf&pullRequest=1683

Check warning on line 250 in src/Altinn.App.Core/Configuration/AppSettings.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'EnforceDataTypeTaskId' is explicitly initialized to its default value

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64b7Drd5ojzLpBiA&open=AZ5P64b7Drd5ojzLpBiA&pullRequest=1683

Check warning on line 137 in src/Altinn.App.Core/Internal/App/IAppResources.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64XUDrd5ojzLpBhd&open=AZ5P64XUDrd5ojzLpBhd&pullRequest=1683

Check warning on line 299 in src/Altinn.App.Core/Features/Validation/Default/ExpressionValidator.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use PascalCase for named placeholders.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64X1Drd5ojzLpBhk&open=AZ5P64X1Drd5ojzLpBhk&pullRequest=1683

Check warning on line 382 in src/Altinn.App.Core/Internal/Expressions/LayoutEvaluatorState.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64S9Drd5ojzLpBhW&open=AZ5P64S9Drd5ojzLpBhW&pullRequest=1683

Check warning on line 47 in src/Altinn.App.Core/Internal/Data/IFormDataWrapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename virtual/interface member IFormDataWrapper.Set(ReadOnlySpan<char>, ExpressionValue) so that it no longer conflicts with the reserved language keyword 'Set'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64QmDrd5ojzLpBhQ&open=AZ5P64QmDrd5ojzLpBhQ&pullRequest=1683

Check failure on line 433 in src/Altinn.App.Core/Implementation/AppResourcesSI.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct the path from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64baDrd5ojzLpBh5&open=AZ5P64baDrd5ojzLpBh5&pullRequest=1683

Check warning on line 32 in src/Altinn.App.Core/Internal/Expressions/ExpressionHelper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not update the stop condition variable 'index' in the body of the for loop.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ5P64WSDrd5ojzLpBhb&open=AZ5P64WSDrd5ojzLpBhb&pullRequest=1683