Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdnf/transaction/RPMItem: Fix handling transaction id in resolveTra…
…nsactionItemReason The maxTransactionId argument was ignored, the method was always returning the reason from the last transaction. This is the correct result for maxTransactionId = -1. In a couple of places the method is called with maxTransactionId = -2. Fixing this would mean nontrivial changes to the logic which could potentially break something else, so I'm leaving this behavior unchanged. For non-negative values of maxTransactionId (with which it's not being called anywhere in dnf codebase), the commit adds a condition to SELECT only transaction ids less than or equal to maxTransactionId. = changelog = msg: Fix handling transaction id in resolveTransactionItemReason type: bugfix resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2053014 resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2010259
- Loading branch information