IssueCommentEN.Attachment collection is empty
Gemini Version: v3.6.0 Beta 2 Build 2526
I am tried to display the attachment bound to an issue comment. The IssueCommentEN.Attachment collection is empty when the issue comment is retrieved from the IssueEN.IssueComments collection.
I am assuming ths IssueCommentEN.Attachment collection is empy by design and we need to use either IssuesService.GetAttachments or IssuesService.GetCommentAttachment to get a comment's attachment. (See related thread: http://community.countersoft.com/forums/thread/13316.aspx).
Can the IssueCommentEN object be extended to add a new Properties called HasAttachments? This new property, would be set to true when called from the web service and the comment has an attachment. Since the Attachment collection is empty when called from the issue's details over the web service, by adding this new Properties, when iterating through the IssueEN.IssueComments collection, if HasAttachments is true you can then call IssuesService.GetCommentAttachment only for that comment.
dongertz
· 1 |
|
Monday, December 21, 2009, 6:23:09 PM |