Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/subform #743

Closed
wants to merge 12 commits into from
Closed

Feature/subform #743

wants to merge 12 commits into from

Conversation

HauklandJ
Copy link
Contributor

@HauklandJ HauklandJ commented Sep 3, 2024

Description

See Altinn/app-frontend-react#2137.

Related Issue(s)

  • #{issue number}

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@@ -316,11 +324,12 @@

if (dataType is null)
{
string error = $"Could not determine if {dataType} requires app logic for application {org}/{app}";
var error = $"Could not determine if {dataType} requires app logic for application {org}/{app}";

Check warning

Code scanning / CodeQL

Use of default ToString() Warning

Default 'ToString()':
DataType
inherits 'ToString()' from 'Object', and so is not suitable for printing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Takk CodeQL. Gir ikke mye mening å logge ... determine if null requires ...

Suggested change
var error = $"Could not determine if {dataType} requires app logic for application {org}/{app}";
var error = $"Could not determine if {dataElement.DataType} requires app logic for application {org}/{app}";

Copy link

sonarqubecloud bot commented Sep 4, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
55.1% Coverage on New Code (required ≥ 65%)
50.0% Condition Coverage on New Code (required ≥ 65%)

See analysis details on SonarCloud

@ivarne
Copy link
Member

ivarne commented Sep 4, 2024

This is now merged into #730

@ivarne ivarne closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants