Skip to content

fix error on upgrade caused by new vendordata2 attributes

xiachen requested to merge (removed):bz2028381 into c9s
BZ: 2028381
Tested by: Amy Chen

commit d132356cc361abef2d90d4073438f3ab759d5964
Author: James Falcon <TheRealFalcon@users.noreply.github.com>
Date:   Mon Apr 19 11:31:28 2021 -0500

    fix error on upgrade caused by new vendordata2 attributes (#869)

    In #777, we added 'vendordata2' and 'vendordata2_raw' attributes to
    the DataSource class, but didn't use the upgrade framework to deal
    with an unpickle after upgrade. This commit adds the necessary
    upgrade code.

    Additionally, added a smaller-scope upgrade test to our integration
    tests that will be run on every CI run so we catch these issues
    immediately in the future.

    LP: #1922739

Signed-off-by: Amy Chen <xiachen@redhat.com>

Merge request reports