<rss version="2.0">
<channel>
<title>YouTrack - Comments to YTSRP-8</title>
<link>http://youtrack.codebetter.com/_rss/issueComments?issueId=YTSRP-8</link>
<description>Comments to YTSRP-8</description>
<item>
<title>Phil Collins (fatherfil) commented YTSRP-8: Authentication drops?</title>
<link>http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-60</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Phil Collins (fatherfil)</strong>
<br/>
20 months ago (05 Sep 2011 16:28)
<br/>
<a href="http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-60">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">I&#39;m currently running YouTrack 3.0.2 (build #1651 [13-Jul-2011 20:22] )</div>
</div>
</div>

]]></description>
<pubDate>Mon, 05 Sep 2011 21:28:49 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (Admin) (root) commented YTSRP-8: Authentication drops?</title>
<link>http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-53</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
21 months ago (19 Aug 2011 06:43)
<br/>
<a href="http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-53">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">What version of the server are you running against? I&#39;ll try and reproduce this. </div>
</div>
</div>

]]></description>
<pubDate>Fri, 19 Aug 2011 11:43:03 UT</pubDate>
</item>
<item>
<title>Phil Collins (fatherfil) commented YTSRP-8: Authentication drops?</title>
<link>http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-52</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Phil Collins (fatherfil)</strong>
<br/>
21 months ago (09 Aug 2011 15:14)
<br/>
<a href="http://youtrack.codebetter.com/issue/YTSRP-8#comment=48-52">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">I see the same problem when creating a new issue and then attaching a file to it.<br/><br/>If I fail to re-authenticate before calling &quot;AttachFileToIssue&quot; then I get an authorisation failure.<br/><br/><pre class="prettyprint">
&#39; Connect to YouTrack server
Dim YT_Connection As New Connection(&quot;server&quot;, 8080)
YT_Connection.Authenticate(&quot;user&quot;, &quot;pass&quot;)

&#39; Create the issue
Dim NewIssue As New Issue() With {
   .Description = &quot;This is a test issue designed within a prototype to test auto submission of tickets.&quot;,
   .Summary = &quot;A test issue&quot;,
   .ProjectShortName = &quot;ENV&quot;,
   .Type = &quot;Bug&quot;
}

&#39; Create an instance of IssueManagement and send it the issue
Dim YT_IssueManager As New IssueManagement(YT_Connection)
Dim YT_TicketID As String = YT_IssueManager.CreateIssue(NewIssue)

&#39; getScreenshot() takes a screenshot and returns a filename with full path
Dim ScreenshotFilename As String = getScreenshot()

&#39; If I remove this call to Authenticate then the AttachFileToIssue will fail with &quot;Unauthorized Unauthorized&quot; error from EasyHTTP
YT_Connection.Authenticate(&quot;user&quot;, &quot;pass&quot;)

&#39; Attach file to new ticket
YT_IssueManager.AttachFileToIssue(YT_TicketID, ScreenshotFilename)
</pre></div>
</div>
</div>

]]></description>
<pubDate>Tue, 09 Aug 2011 20:14:20 UT</pubDate>
</item>
</channel>
</rss>
