NASA-PDS / doi-ui

The web interface for the PDS DOI Service providing the ability management PDS archive DOIs. See the DOI Service for more details on the available capabilities. https://nasa-pds.github.io/doi-service/
Apache License 2.0
0 stars 4 forks source link

Error messages are inconsistent #151

Closed tloubrieu-jpl closed 1 year ago

tloubrieu-jpl commented 2 years ago

๐Ÿ› Describe the bug

for example when a lidvid is already used:

Submission Error: WarningDOIException

Description:UnexpectedDOIActionException : There is a record for identifier urn:nasa:pds:insight_cameras::1.0 (DOI: 10.17189/20151) with status: 'findable'. Are you sure you want to restart the workflow from step 'review'? If so, use the --force flag to bypass the results of this check. Please address the error then try again.

๐Ÿ“œ To Reproduce

Steps to reproduce the behavior:

  1. On the test dataCite
  2. Search for 'insight'
  3. U
  4. See error

๐Ÿ•ต๏ธ Expected behavior

๐Ÿ“š Version of Software Used

๐Ÿฉบ Test Data / Additional context

๐ŸžScreenshots

๐Ÿ–ฅ System Info


๐Ÿฆ„ Related requirements

โš™๏ธ Engineering Details

tloubrieu-jpl commented 1 year ago

@eddiesarevalo I don't think we need to add the submission error and description text when an error is displayed. We can have the main content of submission error as a title and the following paragraph is going to be the content of description.

Does that make sense ?