- Issue created by @nicxvan
- First commit to issue fork.
- 🇭🇺Hungary giorgio79
Getting this error on a content that has a taxonomy term, and I added a facet for the term name...
- Assigned to himanshu_jhaloya
- Merge request !177Issue #3374554: Cannot edit facets on Drupal 10.1 → (Open) created by himanshu_jhaloya
- Issue was unassigned.
- Status changed to Needs review
9 months ago 9:21am 21 February 2024 - 🇺🇸United States sassafrass
I applied the patch in MR!177 and am still getting the same error.
- 🇪🇸Spain pcambra Asturies
Tbh I'm not sure if this is a bug, I think at least the exception should display the actual error rather than something generic, I'm adding a MR that instead of checking for null checks for the interface, and that moves the error from "Error: Call to a member function getType() on null" to the actual field being missing from the facet.
I think that's the root cause of this issue, when you delete a field from the search api index than the view uses, everything kinda breaks, which Idk how we can prevent.
The solution for showing the form would be to do a try/catch on every processor's "supportsFacet" method, but not sure if that's worth doing.
- Status changed to Needs work
8 months ago 1:33pm 10 April 2024 - 🇺🇸United States smustgrave
Think we need to determine
1. Are there any duplicates around this issue
2. What caused this, want to make sure we aren't masking a larger issue.