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

Feature request: check for empty value #496

Open
dpriskorn opened this issue Jan 14, 2023 · 3 comments
Open

Feature request: check for empty value #496

dpriskorn opened this issue Jan 14, 2023 · 3 comments
Assignees

Comments

@dpriskorn
Copy link
Contributor

as a user I want clear errors from WBI and avoid cryptic errors from the Wikibase api whenever possible so I understand what went wrong and how to fix my code

@LeMyst
Copy link
Owner

LeMyst commented Jan 15, 2023

Hi @dpriskorn,

I'm afraid this will become a rabbit hole that will be difficult to maintain because of:

  • An error message may be too inaccurate to give a cause.
  • The most common cause may be wrong, and the user will mistakenly focus on that.
  • The increasing number of error messages will create a list that is difficult to maintain.

I think it's better to redirect the user to their favorite search engine or directly to the "Discussions" part of this GitHub so they can search for the error and find the multiple answers available and the related discussions.

@dpriskorn
Copy link
Contributor Author

dpriskorn commented Jan 15, 2023

I'm guessing that you misunderstood me. I meant: Before writing to wikibase WBI should check that all values are not zero unless novalue or unknown value is stated.

@LeMyst
Copy link
Owner

LeMyst commented Jan 15, 2023

Oh, yes, totally misunderstood 😄

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

No branches or pull requests

2 participants