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

Metadata API: DelegatedRole fails to serialize correctly when paths=[] #1389

Closed
jku opened this issue May 14, 2021 · 0 comments
Closed

Metadata API: DelegatedRole fails to serialize correctly when paths=[] #1389

jku opened this issue May 14, 2021 · 0 comments
Assignees

Comments

@jku
Copy link
Member

jku commented May 14, 2021

If DelegatedRole.paths is [], it serializes into json without "paths".

@jku jku self-assigned this May 14, 2021
jku pushed a commit to jku/python-tuf that referenced this issue May 17, 2021
A DelegatedRole with paths=[] fails to serialize correctly (paths is not
included in the output json).

Fix the issue, modify tests to notice a regression.

Fixes theupdateframework#1389

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku jku closed this as completed in aa480b1 May 18, 2021
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