FIX: RPM packages may fail to show in the UI with a object null reference exception
Created:
5/2/2024 10:35:28 AM by Rich H
Status:
Awaiting Release on 5/6/2024 6:14:15 PM
Last pulled:
5/10/2024 10:00:49 PM
Description:
Steps to recreate:
1. Create a new rpm feed
2. Upload the attached package
3. Click on the package name
This will throw a NRE because it cannot find the latest version of the package.
The error exists on line 42 of FullRpmVersion. Here is the code:
```
public override bool Equals(object? obj) => obj is FullRpmVersion v && this.Equals(v);
```
When finding the latest version, this fails because it is comparing FullRpmVersion to PackageVersion.