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

FieldNotFound when field is available #4083

Closed
andygrove opened this issue Nov 2, 2022 · 0 comments · Fixed by #4084
Closed

FieldNotFound when field is available #4083

andygrove opened this issue Nov 2, 2022 · 0 comments · Fixed by #4084
Assignees
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Member

andygrove commented Nov 2, 2022

Describe the bug

Errors like this are quite confusing. The field is not found but is then listed as being available.

Error: SchemaError(FieldNotFound { qualifier: None, name: "actual_result.part.p_brand", 
valid_fields: Some(["actual_result.part.p_brand", ...

To Reproduce

  • create a field with no qualifier and name "a.b" then lookup qualifier="a", name="b"
  • create a field with qualifier="a", name = "b", then lookup with no qualifier and name = "a.b"

Expected behavior
Two choices:

  • Should find a match regardless of inconsistencies of format
  • Improve error message to make it clear how these names are formed

Additional context

@andygrove andygrove added the bug Something isn't working label Nov 2, 2022
@andygrove andygrove self-assigned this Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants