[ 
https://issues.apache.org/jira/browse/SYNCOPE-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò closed SYNCOPE-1819.
-------------------------------------------
    Resolution: Invalid

If you want to read an any object by name, you should be passing its type as 
well: see 
https://github.com/apache/syncope/blob/3_0_X/common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java#L80

> API search of any objects by name returns wrong empty result
> ------------------------------------------------------------
>
>                 Key: SYNCOPE-1819
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1819
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.6
>            Reporter: Andrea Patricelli
>            Priority: Major
>
> Searching any objects by name like this in the playground environment
> {code:java}
> curl -X 'GET' \
>   
> 'https://syncope-vm2.apache.org/syncope/rest/anyObjects/Canon%20MF%208030cn' \
>   -H 'accept: */*' \
>   -H 'X-Syncope-Domain: Master' \
>   -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ='{code}
> returns bad 404 result instead of the any object with name "Canon MF 8030cn". 
> Search by key still works and the same issue happens on Json persistence.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to