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

Search always targets default endpoint #427

Closed
osma opened this issue Jan 8, 2016 · 0 comments
Closed

Search always targets default endpoint #427

osma opened this issue Jan 8, 2016 · 0 comments
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Jan 8, 2016

At which URL did you encounter the problem?

http://localhost/Skosmos/rest/v1/unesco/search?query=education

What steps will reproduce the problem?

  1. Configure a vocabulary that uses a different SPARQL endpoint than the default endpoint set in config.inc
  2. Perform a search on that vocabulary

What is the expected output? What do you see instead?

Expected that the search would target the vocabulary-specific SPARQL endpoint. Instead it will target the default endpoint.

I think this is related to the ConceptSearchParameters refactoring. I noticed that with the example REST search above, $params->getVocabIds() returns null.

@osma osma added the bug label Jan 8, 2016
@osma osma added this to the 1.5 milestone Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant