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

fix(ontology): Don't accept list values without gui attribute (DEV-775) #2089

Merged

Conversation

irinaschubert
Copy link

@irinaschubert irinaschubert commented Jun 27, 2022

Resolves DEV-775

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: DEV-775

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@irinaschubert irinaschubert self-assigned this Jun 27, 2022
@irinaschubert irinaschubert changed the title fix: Don't accept list values without gui attribute (DEV-775) fix(ontology): Don't accept list values without gui attribute (DEV-775) Jun 27, 2022
@irinaschubert irinaschubert marked this pull request as ready for review July 14, 2022 11:19
Copy link
Collaborator

@BalduinLandolt BalduinLandolt left a comment

Choose a reason for hiding this comment

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

Looks good. I would have liked to see the error message combined, but otherwise I have little to complain

Copy link
Collaborator

@mpro7 mpro7 left a comment

Choose a reason for hiding this comment

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

Looks good, however I feel a little bit lost. Maybe you could give some introduction to it by the next occasion.

Copy link
Collaborator

@subotic subotic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

*
* @return either the validated list of gui attributes or a [[dsp.errors.BadRequestException]]
*/
private[valueobjects] def validateGuiObjectsPointingToList(
Copy link
Collaborator

Choose a reason for hiding this comment

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

@BalduinLandolt Do you mean the package scoped private method?

@sonarcloud
Copy link

sonarcloud bot commented Jul 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 15 Code Smells

No Coverage information No Coverage information
0.5% 0.5% Duplication

@irinaschubert irinaschubert merged commit 74a14e1 into main Jul 18, 2022
@irinaschubert irinaschubert deleted the wip/dev-775-dont-accept-list-values-without-gui-attribute branch July 18, 2022 11:11
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.

None yet

4 participants