| Summary: | Unwanted XPath references in REST API | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael Ochmann <michael.ochmann> |
| Component: | Skalli | Assignee: | Michael Ochmann <michael.ochmann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
ResourceRepresentation#getXStream(): added setMode(XStream.NO_REFERENCES) |
/api/projects?extensions=... for inherited extensions renders XPath references of the form <devInf ... inherited="true" reference="../../../project[36]/extensions/devInf"/> instead of the full <devInf> information requiring a sophisticated parsing mechanism. In order to keep the barrier for consumption low, these references should be avoided.