nasa / mmt

NASA's Metadata Management Tool.
Apache License 2.0
87 stars 36 forks source link

Mmt 3869: Cannot Create a Collection Draft From a Template #1285

Closed mandyparson closed 2 months ago

mandyparson commented 2 months ago

Overview

What is the feature?

Users cannot 'create draft' from templates. Console reads 'crypto.randomUUID()' is not a function.

What is the Solution?

Remove crypto import from top of files

What areas of the application does this impact?

Template Preview and Template List

Testing

Reproduction steps

  1. Go to templates >> click on a template >> click 'create draft' and you should be redirected to drafts/collections/CD0000

Attachments

Please include relevant screenshots or files that would be helpful in reviewing and verifying this change.

Checklist

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.71%. Comparing base (bde857f) to head (49166c8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## MMT-3390 #1285 +/- ## ========================================= Coverage 97.71% 97.71% ========================================= Files 359 359 Lines 5426 5426 Branches 1138 1139 +1 ========================================= Hits 5302 5302 Misses 123 123 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.