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

Hazard deletion is not decreasing the total number of hazard datasets #289

Closed
navarroc opened this issue Apr 2, 2024 · 0 comments · Fixed by #290
Closed

Hazard deletion is not decreasing the total number of hazard datasets #289

navarroc opened this issue Apr 2, 2024 · 0 comments · Fixed by #290
Assignees
Labels
1storypoint Less than two hours of work, requiring only email communication bug Something isn't working
Milestone

Comments

@navarroc
Copy link
Member

navarroc commented Apr 2, 2024

When deleting a hazard, the hazard service calls the dataset service to delete any associated hazard datasets; however, when determining if the quota should decrease, it checks the dataset type. Since the introduction of the semantic service, the types such as "ergo:deterministicEarthquakeRaster" were renamed "ncsa:deterministicEarthquakeRaster" since the types were not finalized. Because of this, the code that decreases the usage doesn't get called and leaves the users usage unchanged. It's unclear if this is related to #261

@navarroc navarroc added bug Something isn't working 1storypoint Less than two hours of work, requiring only email communication labels Apr 2, 2024
@navarroc navarroc self-assigned this Apr 2, 2024
@navarroc navarroc added this to the 1.26.0 milestone Apr 2, 2024
navarroc added a commit that referenced this issue Apr 2, 2024
…espace when determining if a dataset is a hazard dataset
@navarroc navarroc linked a pull request Apr 2, 2024 that will close this issue
ywkim312 pushed a commit that referenced this issue Apr 4, 2024
…espace when determining if a dataset is a hazard dataset (#290)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1storypoint Less than two hours of work, requiring only email communication bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant