Ticket #31 (closed Defect: Fixed)

Opened 4 years ago

Last modified 4 years ago

Can't fetch element that beneath multiple-folded elements

Reported by: SYTDeath Owned by: Mircea Amarascu
Priority: Major Milestone: OpenXCAP 1.0.0
Component: Performance Version:
Severity: Non-critical Keywords: fetch element attribute
Cc:

Description

Another problem is about fetching element that within multiple-folded elements, for example:

<list name="friend">

<entry uri="sip:alice@example.com">

<display-name>Alice</display-name>

</entry> <entry uri="sip:bob@example.com">

<display-name>Bob</display-name>

</entry>

</list> <list name="closefriends">

<entry uri="sip:tom@example.com">

<display-name>Tom</display-name>

</entry> <entry uri="sip:mike@example.com">

<display-name>Mike</display-name>

</entry>

</list>

If fetching the element of "mike", the responsed to the following URI is "404 Not found".

 http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list%5b@name=%22closefriends%22%5d\entry%5b@uri=%22sip:mike@example.com%22%5d

However, an alternative way of uing element sequence number works.

 http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[2]\entry[2]

Change History

comment:1 Changed 4 years ago by ruud

  • Status changed from new to closed
  • Resolution changed from To be investigated to Fixed

This should be fixed in the latest version (0.9.9). Could you please update and test it again?

Note: See TracTickets for help on using tickets.