digitalutsc / triplestore_indexer

This Drupal module provide a system to get the Json-LD representation (which is established from JSON-LD REST Services module) of any content type in Drupal and index that into Blazegraph.
GNU General Public License v2.0
0 stars 0 forks source link

Unable to delete a node which has access control with Group #9

Closed kylehuynh205 closed 9 months ago

kylehuynh205 commented 10 months ago

The module: https://www.drupal.org/project/triplestore_indexer

How to reproduce?

Diagnosis

Goal

HyphenHook commented 9 months ago

Encountered

Error: Call to a member function getGroupType() on null in Drupal\search_api\Plugin\views\filter\SearchApiLanguage->query() (line 33 of /var/www/drupal/web/modules/contrib/search_api/src/Plugin/views/filter/SearchApiLanguage.php). On deleting group indexed item.

Edit: This was an error encountered due to a module I installed and nothing to do with search_api

HyphenHook commented 9 months ago

Workaround

In Configuration > System > Triplestore Indexer there is an option to enable Basic Authentication under Drupal Authentication. It requires an administrator account to allow for endpoint access thus avoiding the 401 error.
Will look into incorporating JWT tokens instead of Basic Auth for security.