Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Table Exception with persisting metadata #668

Open
johncyril opened this issue Jul 15, 2021 · 0 comments
Open

Azure Table Exception with persisting metadata #668

johncyril opened this issue Jul 15, 2021 · 0 comments

Comments

@johncyril
Copy link

johncyril commented Jul 15, 2021

Describe the bug

The Current implementation has an exception when persisting package metadata into an AzureTable

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of BaGet: 'v0.3.0-preview5'

  2. Run this code: docker run --rm --name nuget-server -p 5555:80 --env-file baget.env -v "$(pwd)/baget-data:/var/baget" loicsharma/baget:latest [as per documentaiton]

  3. With these arguments:
    environment variables
    Database__Type=AzureTable
    Database__ConnectionString=DefaultEndpointsProtocol=https;AccountName=XXXXX;AccountKey=XXXXX;TableEndpoint=XXXX

  4. See error

Expected behavior

Package to be uploaded successfully with metadata in AzureTable

Screenshots

image

Additional context

It would appear that the Id property causes issues with serialization as this is a reserved keyword
Got the hint from this link

I have been able to fix this and will link this issue to a pull request #669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant