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

Preview based on URI does not work #72

Closed
josvanroosmalen opened this issue Feb 27, 2020 · 4 comments
Closed

Preview based on URI does not work #72

josvanroosmalen opened this issue Feb 27, 2020 · 4 comments
Assignees
Labels
bug Something isn't working fixed-in-branch
Milestone

Comments

@josvanroosmalen
Copy link
Collaborator

Preview based on URI does not work. I tried to run the "subgraph" example with the sample XML which I saved to "/subgraph.xml". When I then enter "/subgraph.xml" in the optional URI, you get an error on xdmp:documentGetCollection(null).

Also you still need to select a collection if you want to run this. This does not make sense if I specify

So there are 2 options:

  • DB + Collection => use random
  • DB + Optional URI without collection => use specific uri from that DB.

So the random doc switch can be removed. There should be 2 radio buttons: sample DB (DB+Collection) or second radio button: specify URI + DB.

@josvanroosmalen
Copy link
Collaborator Author

Sorry the problem is a bit different. I had inserted the doc in FINAL, but when I select STAGING I get this annoying error, that is because it can not find the URI.

@josvanroosmalen
Copy link
Collaborator Author

You still need to mention the collection which does not make sense if I applied a URI.

@sashamitrovich sashamitrovich added the question Further information is requested label Feb 27, 2020
@sashamitrovich
Copy link
Contributor

When URI field is used, enable the "Execute Preview", disable "Collection" and disable "Random Doc".

@sashamitrovich sashamitrovich added this to the 1.0 milestone Mar 3, 2020
@sashamitrovich sashamitrovich added in-progress fixed-in-branch and removed in-progress question Further information is requested labels Mar 13, 2020
@sashamitrovich sashamitrovich added the bug Something isn't working label Mar 17, 2020
@sashamitrovich
Copy link
Contributor

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed-in-branch
Projects
None yet
Development

No branches or pull requests

2 participants