Test #6605
Updated by ppicka almost 4 years ago
If advisory has same ID, version but update_date missing sync will fail. If updated_date missing in advisory issued_date is not take into consideration in advisory conflict resolution time. How to reproduce: ~~~ git clone https://github.com/pulp/pulp-fixtures cd pulp-fixtures # create fixtures make fixtures/rpm-unsigned make fixtures/rpm-advisory-no-update-date ~~~ 1. create repository 1. sync remote rpm-unsigned 1. re-sync same repo with rpm-advisory-no-update-date remote ```` "error" { "description": "'<' not supported between instances of 'datetime.datetime' and 'NoneType'" ...} ```` How to reproduce: 1) sync repository with advisories 2) sync same repository but with advisory with same ID, version as have previous one but missing updated_date