<font size=2 face="sans-serif">Hello, two PRs coming right up: <br>
<br>
</font><a href="https://github.com/weld/core/pull/1967"><font size=2 color=blue face="sans-serif">https://github.com/weld/core/pull/1967</font></a><font size=2 face="sans-serif"><br>
</font><a href="https://github.com/weld/core/pull/1966"><font size=2 color=blue face="sans-serif">https://github.com/weld/core/pull/1966</font></a><font size=2 face="sans-serif"><br>
<br>
I tested it locally by compiling the class and pasting it into my liberty
server, it all looks good.<br>
<br>
Regards<br>
Benjamin &nbsp;</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">weld-dev@lists.jboss.org,
Takayuki T Ishii &lt;EBB0F3L@jp.ibm.com&gt;</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 07:52</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>Hi,<br>
<br>
good catch! Go ahead and send the PRs, I'll reopen that WELD issue and
link them to it.<br>
Also, please add a test for this (basically just enhance the one I had
in </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>
<br>
Matej<br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Benjamin Confino&quot; &lt;BENJAMIC@uk.ibm.com&gt;<br>
&gt; To: weld-dev@lists.jboss.org<br>
&gt; Cc: &quot;Takayuki T Ishii&quot; &lt;EBB0F3L@jp.ibm.com&gt;<br>
&gt; Sent: Thursday, February 20, 2020 10:20:25 PM<br>
&gt; Subject: [weld-dev] Follow up to WELD-2611<br>
&gt; <br>
&gt; Hello<br>
&gt; <br>
&gt; I heard back from my excellent L2 support colleague who has tested
the weld<br>
&gt; fix and he says that it works perfect when you append something like<br>
&gt; &quot;?cid=100000&quot; to the url but not if you append &quot;?cid=&quot;
I debugged into the<br>
&gt; code and I believe that what is happening is that:<br>
&gt; <br>
&gt; AbstractConversationContext .initilize treats a null or an isEmpty()
cid as<br>
&gt; as a trigger to enter the else block and call<br>
&gt; associateRequestWithNewConversation()<br>
&gt; <br>
&gt; However LazyHttpConversationContextImpl .checkContextInitialized()
only calls<br>
&gt; fireInitEvent() for a null cid or in the catch block for a<br>
&gt; ConversationNotActiveException.<br>
&gt; <br>
&gt; The two methods have differing understandings of what's triggers a
new<br>
&gt; conversation, so the &quot;?cid=&quot; case falls through the gap.
I think this can be<br>
&gt; fixed by adding an &quot;|| cid.isEmpty()&quot; to LazyHttpConversationContextImpl<br>
&gt; .checkContextInitialized() above the non-catch block call to<br>
&gt; fireInitEvent(), if you agree I can spin up a couple of pull requests.<br>
&gt; <br>
&gt; Regards<br>
&gt; Benjamin<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>
&gt; _______________________________________________<br>
&gt; weld-dev mailing list<br>
&gt; weld-dev@lists.jboss.org<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>
<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>