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

MMT-3906: Error deleting Drafts in MMT #1311

Merged
merged 1 commit into from
Oct 9, 2024
Merged

MMT-3906: Error deleting Drafts in MMT #1311

merged 1 commit into from
Oct 9, 2024

Conversation

mandyparson
Copy link
Contributor

Overview

What is the feature?

There is a special use case where users are clicking 'delete' and their drafts are not deleting. It has been determined that the issue is that CMR is returning drafts that do no exist to the concept draft list (this is necessary to render list of drafts and will be fixed by https://bugs.earthdata.nasa.gov/browse/CMR-10190.

What is the Solution?

If users click into a draft with this special error case, they will be directed to page with disabled buttons and text reading that the draft does not exist.

What areas of the application does this impact?

DraftPreview and DraftPage

Testing

Reproduction steps

  1. Go to link above and see new text
  2. Go to any other draft and ensure all other works

Attachments

Screenshot 2024-10-07 at 10 53 23 AM

Checklist

  • I have added automated tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@mandyparson mandyparson requested review from cgokey and htranho October 7, 2024 16:54
@mandyparson mandyparson merged commit 0ea1eca into main Oct 9, 2024
5 of 7 checks passed
@mandyparson mandyparson deleted the MMT-3906 branch October 9, 2024 15:25
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

Successfully merging this pull request may close these issues.

3 participants