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

advancedrewrite: Fix simple rules being overwritten by advanced rules #5063

Merged

Conversation

Maxr1998
Copy link
Contributor

@Maxr1998 Maxr1998 commented Jan 1, 2024

Well, this is awkward. The second for-loop for the advanced rules ended up overwriting the template fields for the simple rules, nullifying the main reason for merging the simple rule support into this plugin.

This bug was introduced in #5044, and previous test cases unfortunately didn't cover it. A combined test case has thus been introduced as a regression test for this bug.
Please let me know if you'd like to have a changelog entry for this issue.

@Serene-Arc
Copy link
Contributor

lgtm! Thanks for expanding the test coverage too.

@Serene-Arc Serene-Arc merged commit 8720d64 into beetbox:master Mar 1, 2024
13 of 14 checks passed
@Maxr1998 Maxr1998 deleted the fix-advancedrewrite-simple-rules branch March 1, 2024 09:22
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.

2 participants