IssuesService.GetIssue error when issue does not exist
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 |
|
Tuesday, January 12, 2010, 5:25:00 PM |