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

[REST] view is not applied #308

Open
dariok opened this issue Apr 13, 2019 · 1 comment
Open

[REST] view is not applied #308

dariok opened this issue Apr 13, 2019 · 1 comment

Comments

@dariok
Copy link
Owner

dariok commented Apr 13, 2019

Kurze Frage: Wieso greift mein View type nicht? localhost:8080/exist/restxq/edoc/resource/view/abacus.3.toc sollte eigentlich den process target "toc" aurufen, aber es wird der html prozess ausgelöst. woran kann das liegen?

          …
     <file path="Neiner-Grabmahl.xml" xml:id="Neiner-Grabmahl" uuid=""/>
</files>
<process target="html">
    <command type="xsl">xsl/abacus2html.xsl</command>
</process>
<process target="toc">
    <command type="xsl">xsl/abacus2toc.xsl</command>
</process>
<struct>
    
</struct>
@dariok dariok added this to the 1.5 milestone May 24, 2019
@dariok dariok added the asap label May 24, 2019
dariok added a commit that referenced this issue Jan 18, 2020
dariok added a commit to dariok/wdbmeta that referenced this issue Jan 18, 2020
This was left open. To maintain backwards comptibility,
process was changed that it either has `@target` and 1+
command(s) or 1+ processes (without `@*`)

See also dariok/wdbplus#308
@dariok dariok modified the milestones: Backlog 2024, Backlog 2025 Dec 19, 2024
@dariok
Copy link
Owner Author

dariok commented Dec 19, 2024

Should work as expected by now for REST v1.

Implement selection of processes in REST v2!

TODO: create mocha.js tests

  • listing views works
  • requesting a view to a resource works
  • requesting a view to a project works
  • watching “A View to a Kill” works

@dariok dariok modified the milestones: Backlog 2025, REST v2 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant