IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

Feature Request: Enhanced Error Handling for PID Provider Configuration #10995

Open DonRichards opened 3 weeks ago

DonRichards commented 3 weeks ago

Overview of the Feature Request

After updating to Dataverse version 6.2, a configuration error occurred specifically when modifying domain.xml to support multiple PID providers. While the 404 handling has improved, I anticipated that errors due to missing or incorrect configurations would be managed by try/catch mechanisms to prevent application-wide impact. Enhancing error-handling layers around PID provider configurations would improve resilience, stability, and user experience.

What kind of user is the feature intended for? Sysadmin, Developer

What inspired the request? The need for resilience when implementing configuration changes for new PID providers.

What existing behavior do you want changed? Rather than a generic error or application crash, more specific error messages and handling for misconfigurations in domain.xml and other files.

Any brand new behavior do you want to add to Dataverse? Add targeted safeguards and error messages in cases of missing parameters or improper values specific to PID provider configurations.

Any open or closed issues related to this feature request? Related to #10900 for improved 404 handling.

Are you thinking about creating a pull request for this feature? I would be interested in test & contributing feedback to a solution if needed.

pdurbin commented 3 weeks ago

@DonRichards what you're saying makes complete sense but in order for us to size this issue, can we please narrow the scope, perhaps to PID provider configuration?

Regarding "and other files" we do hope to play around with a TOML file option at some point that only has Dataverse stuff in it and not a bunch of other Payara settings:

DonRichards commented 1 week ago

OK, made the adjustment.