<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Maxim,<br>
<br>
this should be fixed in Weld. Please file a new issue.<br>
<br>
Jozef<br>
<br>
On 03/21/2014 06:52 PM, Maxim Frolov wrote:<br>
</div>
<blockquote
cite="mid:CAH_afATr5zGTt=ogwFGrj-xD_59_kSKtZfFgdFSM5_jMaPAcsg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi everyone,
<div><br>
<div>recently I found a bug in Wildfly: <a
moz-do-not-send="true"
href="https://issues.jboss.org/browse/WFLY-3147">https://issues.jboss.org/browse/WFLY-3147</a><br>
</div>
<div><br>
</div>
<div>After looking at the source code I found that the
BeansXmlHandler always calls interpolate() method, even if
the argument is null.</div>
<div><br>
</div>
<div>Does it make sence?</div>
<div><br>
</div>
<div>In my opinion, BeansXmlHandler must not call
interpolate() method if the String value is null (i.e.
absent).</div>
<div><br>
</div>
<div>My questions to this mailing list are: </div>
<div>1) Is this really bug in weld and I should report a JIRA
bug / make a pull request?</div>
<div>or </div>
<div>2) Does this work as expected/designed and the bug is in
Wildfly?</div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>/max.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
weld-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/weld-dev">https://lists.jboss.org/mailman/listinfo/weld-dev</a></pre>
</blockquote>
<br>
</body>
</html>