Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix crash for bag migration #239
So, I have a migration rule that induces this bug. However, I cannot provide that information publicly.
I can describe in detail what happens. It appears as if around line 549, if the
Then, there is a check:
if rulechain.rename and (r.order >= rulechain.chain[-1]):
which crashes because there are no rules in the rule chain, only a single rename. If you look right before the diff in the file, you can see all of the other checks, ensure
All I did was make the if-check match the debug print statement it encloses and the offending file works just fine. I believe this is a copy and paste error with line 752.
I was able to reproduce the issue with two bag migration rules: one which renames message
This currently raises