Membership renewal page not selecting current membership level, but selecting default instead
Overview
The membership contribution page for a renewal seems to select the default contribution membership level instead of the existing level for the user.
Mattermost mention (but only that it happened).
Reproduction steps
- Go to a join/renew Membership Contribution page link for an existing membership that has a level different than the default.
- See that the default is selected even when the existing membership is at a different level.
Current behaviour
Here's an example on our site with a current Full Membership
but seeing that Contributing Membership
is selected (the current default when joining without a membership).
Expected behaviour
The Full Membership
radio button (in this case, button) should be selected, as that's the sample user's existing membership level.
Environment information
- CiviCRM: 5.70.0 (but may have also started earlier)
- PHP: 8.1.27
- CMS: WordPress 6.4.3
- Database: MariaDB 10.6.x