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 missing subscription after product migration #1133

Merged
merged 11 commits into from
Jun 10, 2024

Conversation

ngetahun
Copy link
Contributor

@ngetahun ngetahun commented Apr 29, 2024

Description

Fix missing subscription from activation during 15sp5 -> 15sp6 migration.

related card: https://trello.com/c/SN979OIx/3274-rmt-client-activation-subscription-gone-after-migration-from-15sp5-to-15sp6

Change Type

Please select the correct option.

  • Bug Fix (a non-breaking change which fixes an issue)
  • New Feature (a non-breaking change which adds new functionality)
  • Documentation Update (a change which only updates documentation)

Checklist

Please check off each item if the requirement is met.

  • I have verified that my code follows RMT's coding standards with rubocop.
  • I have reviewed my own code and believe that it's ready for an external review.
  • I have provided comments for any hard-to-understand code.
  • I have documented the MANUAL.md file with any changes to the user experience.
  • RMT's test coverage remains at 100%.
  • If my changes are non-trivial, I have added a changelog entry to notify users at package/obs/rmt-server.changes.

Other Notes

Please use this space to provide notes or thoughts to the team, such as tips on how to review/demo your changes.

@ngetahun ngetahun added the WIP Work in progress, do not merge. label Apr 30, 2024
Copy link
Contributor

@mssola mssola left a comment

Choose a reason for hiding this comment

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

The PR looks good to me code wise. But I have to admit that I am not sure exactly how to test it locally. How would you do it? Which steps can you recommend to test this properly?

@ngetahun
Copy link
Contributor Author

ngetahun commented Jun 7, 2024

The PR looks good to me code wise. But I have to admit that I am not sure exactly how to test it locally. How would you do it? Which steps can you recommend to test this properly?

I can setup a test server. Test instructions are in trello card.

Copy link
Contributor

@felixsch felixsch left a comment

Choose a reason for hiding this comment

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

lgtm 👍

How I tested this pull request:

  • Ran a migration from SP5 to SP6 against the branch and checked that the subscription is still attached
  • Tested normal registration works

As always, if you think I missed something, please let me know!🚀

@ngetahun ngetahun merged commit 6ba898f into master Jun 10, 2024
3 checks passed
@ngetahun ngetahun deleted the fix_subs_after_migration branch June 10, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress, do not merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants