GSA / GSA/data.gov

Inventory dataset form: can't change resource type

Open
#5,433 0 comments 0 reactions 1 assignee Claimed by @jaredb96 View on GitHub
bug Inventory.data.gov
Dominant language
Python
Stars
1.1k
Forks
200
Avg merge
4h 56m
Merged PRs (30d)
5

Description

On the existing resource, if you change the resource type, it appears saved but when you reload the resources, the type is not changed.

Image

## How to reproduce

- Add a resource to a dataset with resource type "Link to an API"
- then edit the resource and change the type to "Access URL" and save
- reload the dataset and resource

## Expected behavior

the type should be "Access URL"

## Actual behavior

the type stays as "Link to an API"

## Sketch

Workaround is delete the resource and add it again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.