<font size=2 face="sans-serif">You're welcome<br>
<br>
Regards<br>
Benjamin</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Matej Novotny &lt;manovotn@redhat.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Benjamin Confino &lt;BENJAMIC@uk.ibm.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Takayuki T Ishii &lt;EBB0F3L@jp.ibm.com&gt;,
weld-dev@lists.jboss.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">21/02/2020 11:58</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[EXTERNAL] Re:
[weld-dev] Follow up to WELD-2611</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Thanks!<br>
<br>
Matej<br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Benjamin Confino&quot; &lt;BENJAMIC@uk.ibm.com&gt;<br>
&gt; To: &quot;Matej Novotny&quot; &lt;manovotn@redhat.com&gt;<br>
&gt; Cc: &quot;Takayuki T Ishii&quot; &lt;EBB0F3L@jp.ibm.com&gt;, weld-dev@lists.jboss.org<br>
&gt; Sent: Friday, February 21, 2020 11:35:26 AM<br>
&gt; Subject: RE: [weld-dev] Follow up to WELD-2611<br>
&gt; <br>
&gt; Hello, two PRs coming right up:<br>
&gt; <br>
&gt; </font></tt><a href="https://github.com/weld/core/pull/1967"><tt><font size=2>https://github.com/weld/core/pull/1967</font></tt></a><tt><font size=2>
<br>
&gt; </font></tt><a href="https://github.com/weld/core/pull/1966"><tt><font size=2>https://github.com/weld/core/pull/1966</font></tt></a><tt><font size=2>
<br>
&gt; <br>
&gt; I tested it locally by compiling the class and pasting it into my
liberty<br>
&gt; server, it all looks good.<br>
&gt; <br>
&gt; Regards<br>
&gt; Benjamin<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; From: &nbsp; Matej Novotny &lt;manovotn@redhat.com&gt;<br>
&gt; To: &nbsp; &nbsp; Benjamin Confino &lt;BENJAMIC@uk.ibm.com&gt;<br>
&gt; Cc: &nbsp; &nbsp; weld-dev@lists.jboss.org, Takayuki T Ishii &lt;EBB0F3L@jp.ibm.com&gt;<br>
&gt; Date: &nbsp; 21/02/2020 07:52<br>
&gt; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[EXTERNAL] Re: [weld-dev] Follow
up to WELD-2611<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; good catch! Go ahead and send the PRs, I'll reopen that WELD issue
and<br>
&gt; link them to it.<br>
&gt; Also, please add a test for this (basically just enhance the one I
had in<br>
&gt; </font></tt><a href="https://github.com/weld/core/pull/1962/files"><tt><font size=2>https://github.com/weld/core/pull/1962/files</font></tt></a><tt><font size=2><br>
&gt; ).<br>
&gt; <br>
&gt; Matej<br>
&gt; <br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Benjamin Confino&quot; &lt;BENJAMIC@uk.ibm.com&gt;<br>
&gt; &gt; To: weld-dev@lists.jboss.org<br>
&gt; &gt; Cc: &quot;Takayuki T Ishii&quot; &lt;EBB0F3L@jp.ibm.com&gt;<br>
&gt; &gt; Sent: Thursday, February 20, 2020 10:20:25 PM<br>
&gt; &gt; Subject: [weld-dev] Follow up to WELD-2611<br>
&gt; &gt; <br>
&gt; &gt; Hello<br>
&gt; &gt; <br>
&gt; &gt; I heard back from my excellent L2 support colleague who has tested
the<br>
&gt; weld<br>
&gt; &gt; fix and he says that it works perfect when you append something
like<br>
&gt; &gt; &quot;?cid=100000&quot; to the url but not if you append &quot;?cid=&quot;
I debugged into<br>
&gt; the<br>
&gt; &gt; code and I believe that what is happening is that:<br>
&gt; &gt; <br>
&gt; &gt; AbstractConversationContext .initilize treats a null or an isEmpty()
cid<br>
&gt; as<br>
&gt; &gt; as a trigger to enter the else block and call<br>
&gt; &gt; associateRequestWithNewConversation()<br>
&gt; &gt; <br>
&gt; &gt; However LazyHttpConversationContextImpl .checkContextInitialized()
only<br>
&gt; calls<br>
&gt; &gt; fireInitEvent() for a null cid or in the catch block for a<br>
&gt; &gt; ConversationNotActiveException.<br>
&gt; &gt; <br>
&gt; &gt; The two methods have differing understandings of what's triggers
a new<br>
&gt; &gt; conversation, so the &quot;?cid=&quot; case falls through the
gap. I think this<br>
&gt; can be<br>
&gt; &gt; fixed by adding an &quot;|| cid.isEmpty()&quot; to LazyHttpConversationContextImpl<br>
&gt; &gt; .checkContextInitialized() above the non-catch block call to<br>
&gt; &gt; fireInitEvent(), if you agree I can spin up a couple of pull
requests.<br>
&gt; &gt; <br>
&gt; &gt; Regards<br>
&gt; &gt; Benjamin<br>
&gt; &gt; Unless stated otherwise above:<br>
&gt; &gt; IBM United Kingdom Limited - Registered in England and Wales
with number<br>
&gt; &gt; 741598.<br>
&gt; &gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6<br>
&gt; 3AU<br>
&gt; &gt; <br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; weld-dev mailing list<br>
&gt; &gt; weld-dev@lists.jboss.org<br>
&gt; &gt; <br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/weld-dev"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/weld-dev</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Unless stated otherwise above:<br>
&gt; IBM United Kingdom Limited - Registered in England and Wales with
number<br>
&gt; 741598.<br>
&gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 3AU<br>
&gt; <br>
<br>
</font></tt>
<br>
<br><font size=2 face="sans-serif"><br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU<br>
</font>