DASISH / dwan-backend

DASISH Task 5.6. Annotation framework backend
0 stars 1 forks source link

List of sibling targets includes itself #16

Closed andmor- closed 10 years ago

andmor- commented 10 years ago

When requesting: http://<serverPathToService>/api/targets/<targetId> the response includes a node listing all sibling targets, but this list includes itself.

e.g. https://lux16.mpi.nl/ds/webannotatornonshibb/api/targets/00000000-0000-0000-0000-000000000032

returns

<target xmlns="http://www.dasish.eu/ns/addit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="/ds/webannotatornonshibb/api/targets/00000000-0000-0000-0000-000000000032" xml:id="00000000-0000-0000-0000-000000000032" xsi:schemaLocation="http://lux16.mpi.nl/ds/webannotatornonshibb/SCHEMA/DASISH-schema.xsd">
    <lastModified>2014-03-03T20:32:54.613157Z</lastModified>
    <link>http://nl.wikipedia.org/wiki/Antoni_Gaud%C3%AD#Vroege_werk</link>
    <version>version 1.1</version>
    <siblingTargets>
        <href>/ds/webannotatornonshibb/api/targets/00000000-0000-0000-0000-000000000032</href>
    </siblingTargets>
    <cachedRepresentatinons>
        <cached href="/ds/webannotatornonshibb/api/cached/00000000-0000-0000-0000-000000000053">
            <fragmentString>Vroeger Werk</fragmentString>
        </cached>
    </cachedRepresentatinons>
</target>
olhsha commented 10 years ago

Fixed (on localhost so far).

olhsha commented 10 years ago

fixing version deployed on lux16.