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

New Code Project Specific Settings are not saved #326

Closed
hannidoch opened this issue Apr 6, 2021 · 1 comment
Closed

New Code Project Specific Settings are not saved #326

hannidoch opened this issue Apr 6, 2021 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@hannidoch
Copy link

Describe the bug
When changing New Code Project Specific Settings Via web UI or via Web-API, the settings are not saved for the project.

To Reproduce
Steps to reproduce the behavior:
Using Web Ui:

  1. Go to projects
  2. Click on Project Settings
  3. Click on New Code
  4. Select Define Specific Setting for the project
  5. Select Reference Branch
  6. Click Save
  7. Reload
  8. See new settings are not saved. Also only the default branch settings change to new and other branches follow old settings

Using Web-APi

  1. Post to api/new_code_periods/set?type=REFERENCE_BRANCH&project=&value=master.
  2. Post is successful with status 200 ok
  3. Check web UI and no changes happen for project. Only default branch changed

Expected behavior

New Project Settings should Persist after saving and reloading or after calling web-api

Screenshots
If applicable, add screenshots to help explain your problem.

Software Versions

  • SonarQube Version: Version 8.7.1 (build 42226)
  • Plugin Version: 1.7
@hannidoch hannidoch added the bug Something isn't working label Apr 6, 2021
@mc1arke
Copy link
Owner

mc1arke commented Apr 6, 2021

Duplicates #272

@mc1arke mc1arke closed this as completed Apr 6, 2021
@mc1arke mc1arke added the duplicate This issue or pull request already exists label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants