Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




IssuesService.GetIssue error when issue does not exist

api

Version: v3.6.0 Build 2543.

When a user that does not have Gemini Administrator privileges calls IssuesService.GetIssue with a Issue ID that does not exist in the database, a GeminiRestException is returned with the following details:

GeminiRestException -->

   CounterSoft.Gemini.Commons.Rest.ExceptionInfo -->

      InnerMessage: "User does not have permission for: view issue."

When I call the same method, I am part of Gemini Administrators, I get the following exception:

GeminiRestException -->

   Message: "Invalid URI - Requested Resource could not be found."

Shouldn't we expect a null or empty IssueEN returned and not an Exception thrown?  Is there an alternative way to check if an issue exists before calling IssuesService.GetIssue?

Please advise soonest.

Cheers.

dongertz
· 1
dongertz
Replies (1)
helpful
0
not helpful

Unfortunately, no.

The only way to do this is by executing a filter passing in the issue id to the filter.


Saar Cohen
· 5000
Saar Cohen