-
Notifications
You must be signed in to change notification settings - Fork 180
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 persisting the Cobbler UID in the database via XML-RPC createSystemRecord #6676
Fix persisting the Cobbler UID in the database via XML-RPC createSystemRecord #6676
Conversation
Suggested tests to cover this Pull Request
|
14e645d
to
56dd288
Compare
The PR is working as expected in a test environment. Thus I will now start writing Unit Tests with Mockito (as discussed internally). |
63efc3b
to
b92a1e8
Compare
Git History is clean and Sonarlint should be happy about this PR. Tests need fixing as they are skeletons only at the moment. |
b92a1e8
to
33b6522
Compare
31c6484
to
c6b8bb7
Compare
The tests are missing atm. Other then that manual validation by me was successful. A Java squad member should try to finish the currently 6 failing tests. |
Any updates on this? |
@nodeg I'm currently working on getting this PR in shape so it can be merged. |
This commit addresses a regression that was introduced in 92e5a19. When the server object is not passed to CobblerSystemCreateCommand the Cobbler UID is not persisted in the database which leads to Cobbler rejecting the API requests that SUSE Manager does. This doesn't happen via the UI since it passes the server object via a different constructor than the XML-RPC API.
c6b8bb7
to
8355538
Compare
Thank you for the update, Yeray! |
Closing in favor of #7738 |
What does this PR change?
TODO
GUI diff
No difference.
Documentation
No documentation needed: only internal and user invisible changes
DONE
Test coverage
Cucumber tests were added - QE: Improve Cobbler tests and add a new profile test #6628
DONE
Links
Fixes #
Tracks # add downstream PR, if any
Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:
If you uncheck the checkbox after the PR is created, you will need to re-run
changelog_test
(see below)Re-run a test
If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run: