Hi all,

Searching AnyObjects with a FIQL like 
"$type==MYTYPE;$relationships==object2;$relationshipTypes==RELATION1" returns 
the following object:

{
  "result": [
    {
      "_class": "org.apache.syncope.common.lib.to.AnyObjectTO",
      "type": "MYTYPE",
      "name": "MyName",
      "relationships": [
        {
          "type": "RELATION1",
          "otherEndType": "TYPE1",
          "otherEndKey": "01862789-75eb-7c2b-9907-0818a48910b7",
          "otherEndName": "object1"
        },
        {
          "type": "RELATION2",
          "otherEndType": "TYPE2",
          "otherEndKey": "01862789-75eb-7c2b-9907-0818a48910b7",
          "otherEndName": "object2"
        }
      ]
    }
  ]
}

Is it a bug or a feature ;) ?
If it is a feature, I understand the query as "give me objects that have at 
least one relation of type "RELATION1" and that also have at least one relation 
with "object2".

In this case, my question is: what is the FIQL for "give me objects that have a 
relationship of type "RELATION1" on "object2" ? (this query should return empty 
result then).

Regards
Lionel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to