bagetter/BaGetter

Symbols fail to upload when using Azure Table as database

Closed this issue · 1 comments

Describe the bug

When uploading a package with symbols present, the package upload succeeds but the symbols fail to upload with a 404 Not Found status code.

To Reproduce

Steps to reproduce the behaviour:

  1. Using the latest version of BaGet
  2. When uploading any package with a symbol file present in the same directory.
  3. You get a 404 Not Found from the Nuget CLI.

Expected behaviour

Symbols should upload successfully.

Screenshots

image

Additional context

After debugging this issue seems to be coming from the TablePackageDatabase not using a lowered version of the package ID (see below):

var result = await _table.GetEntityIfExistsAsync<PackageEntity>(id, version.ToNormalizedString(), cancellationToken: cancellationToken);

Fixed in 1.4.4