Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

RequestControlAction Bug #203

Closed
aggelosgkiokas opened this issue Jun 7, 2021 · 0 comments
Closed

RequestControlAction Bug #203

aggelosgkiokas opened this issue Jun 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@aggelosgkiokas
Copy link

aggelosgkiokas commented Jun 7, 2021

Try the following (api-test):

RequestControlAction(

controlAction: {
  potentialActionIdentifier: "4d7286c5-f167-4e00-add1-3023c1a5f300"
  entryPointIdentifier: "c0716492-30ad-405e-a915-f80908cb9e81"
  propertyObject: [
    {
      nodeIdentifier: "e8aaa49c-9e5f-468e-852f-c100b29df780"
      potentialActionPropertyIdentifier: "ddb6740a-437a-4ed9-b01a-ac1e180bb809"
      nodeType: MediaObject
    }
    {
      nodeIdentifier: "dd9bbd41-9197-42ff-a2a0-f62f128e4b87"
      potentialActionPropertyIdentifier: "0944eded-54b5-4ff3-845f-a898a7d51a35"
      nodeType: MediaObject
    }
  ]
  propertyValueObject: [
    {
      value: "str1"
      potentialActionPropertyValueSpecificationIdentifier: "aaec92bf-cfa0-4f29-92be-9da500f43d0b"
      valuePattern: String
    }
    {
      value: "str2"
      potentialActionPropertyValueSpecificationIdentifier: "f85a1be6-d2a4-4387-9ffb-81f99ce95e3c"
      valuePattern: String
    }
    {
      value: "str3"
      potentialActionPropertyValueSpecificationIdentifier: "f24bed27-0761-497a-9243-ed82cce51fd0"
      valuePattern: String
    }
    {
      value: "str4"
      potentialActionPropertyValueSpecificationIdentifier: "ec3d6f69-bab3-45a4-bbf6-15f4b332b52b"
      valuePattern: String
    }
    {
      value: "str5"
      potentialActionPropertyValueSpecificationIdentifier: "e1dceef1-d27a-4486-ab95-1eaaab1954a3"
      valuePattern: String
    }
    {
      value: "str6u high"
      potentialActionPropertyValueSpecificationIdentifier: "6086dd02-7ecc-4d53-9220-8bb93ced60ab"
      valuePattern: String
    }
  ]
}

) {
identifier
}
}

It returns an error. However if the nodeType is set to DigitalDocument it works, altough the Property objects have a RangeIncludes equal to MediaObject

query {
Property(identifier: "ddb6740a-437a-4ed9-b01a-ac1e180bb809") {
identifier
rangeIncludes
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant