NASA-IMPACT / admg-backend

Apache License 2.0
2 stars 0 forks source link

Bug: GCMD Error on staging #445

Closed EJwalker13 closed 1 year ago

EJwalker13 commented 1 year ago

Describe the bug While testing the MI on staging we detected a few bugs in the GCMD section.

Draft Error Message: Unable to transition draft. gcmd_uuid Must be a valid UUID.

This instrument was assigned a Create Draft UUID (aab2a612-f5ca-447c-b1d5-d32d58df5483) but I received the error above when trying to publish the GCMD instrument.

Tested for GCMD platforms just to make sure if the same error is happening and it did. Received the exact same error message as GCMD instruments.

Draft Error Message: Unable to transition draft. gcmd_uuid. Must be a valid UUID.

I created a test platform called Ships_test and its Create Draft UUID is 95da2253-2e23-4f98-9f7f-d008c8ea5f8b

To Reproduce Steps to reproduce the behavior of the 1st error:

  1. Go to the side bar clicked Limited Fields > GCMD Items > GCMD Project
  2. Click on Add New GCMD Project
  3. ERROR Could not add metadata into the fields into the GCMD Project draft.

Steps to reproduce the behavior of the 2nd error:

  1. Go to the side bar clicked Limited Fields > GCMD Items > GCMD Instruments
  2. Click on Add New GCMD Instruments +
  3. Add metadata into the fields, go through the review/admin review process, hit publish
  4. ERROR Unable to transition draft. gcmd_uuid. Must be a valid UUID.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

alukach commented 1 year ago

@CarsonDavis @EJwalker13 Can we confirm that generating GCMD Instruments by hand is actually something that we want users to be able to do? I was under the impression that the GCMD Sync tooling should do this for us.

alukach commented 1 year ago

Closing, it was determined that manually publishing GCMD records is not desirable.