You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "BlueRui (via GitHub)" <gi...@apache.org> on 2024/01/08 21:05:06 UTC

[I] sortOrder query parameter not handled and results in 404 [directory-scimple]

BlueRui opened a new issue, #485:
URL: https://github.com/apache/directory-scimple/issues/485

   The "sortOrder" parameter may not be handled properly. Having it in the query results in a 404 response.
   
   I tried with the SpringBoot SCIM server example to learn about the library.
   When only "sortBy" is used like "GET localhost:8080/v2/Users?sortBy=displayName", I can get a 200 OK response.
   When "sortOrder" is added like "GET localhost:8080/v2/Users?sortBy=displayName&sortOrder=ascending". I get 404 Not Found.
   ![image](https://github.com/apache/directory-scimple/assets/23182566/e648993c-eb7f-4623-81e6-602af5d07348)
   
   
   I tried setting supports sort to true in ServerConfiguration, but it made no difference. Did I miss anything?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [I] sortOrder query parameter not handled and results in 404 [directory-scimple]

Posted by "bdemers (via GitHub)" <gi...@apache.org>.
bdemers closed issue #485: sortOrder query parameter not handled and results in 404
URL: https://github.com/apache/directory-scimple/issues/485


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [I] sortOrder query parameter not handled and results in 404 [directory-scimple]

Posted by "bdemers (via GitHub)" <gi...@apache.org>.
bdemers commented on issue #485:
URL: https://github.com/apache/directory-scimple/issues/485#issuecomment-1881903225

   Thanks for opening this issue @BlueRui!
   The values for the `sortOrder` are controlled by an enum, and it looks like the parsing is case sensitive, for example, `sortOrder=ASCENDING` seems to work.
   
   Any chance you want to look into sending a pull request to fix the issue?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org