Bug: When validating a BUR, we didn't properly simulate running each line of the BUR in order, which could cause validation to incorrectly fail in multi-line BURs where some lines depended on previous lines. This bug meant you couldn't reverse an alias in a single BUR. The old alias wasn't removed before validating the new alias, so the BUR would fail with an alias conflict. This bug also meant that BURs containing duplicate aliases or redundant implications weren't caught. The fix is for BUR validation to actually simulate creating and removing aliases in sequential order, just as they would be when the BUR is approved. This is done by running the BUR in a transaction, then rolling back the transaction at the end. This is hacky but it works.
17 KiB
17 KiB