<div dir="ltr">We agree with this.<br><div class="gmail_extra"><br></div><div class="gmail_extra">-- <br><div><br></div><div><div>Z poważaniem / Regards</div><div>Błażej Pabiszczak</div><div>M: +48.884999123<br>E: <a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.pl</a></div>
</div><br><div class="gmail_quote">2013/9/2 Adrián Granado - Refineria Web <span dir="ltr"><<a href="mailto:adrian@refineriaweb.com" target="_blank">adrian@refineriaweb.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="white" lang="ES" link="blue" vlink="purple">
<div>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)">I agree that vTiger
have serious problems with the statement 0 = empty…<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="300" style="width:225pt">
<tbody><tr style="min-height:45.75pt">
<td width="85" style="width:63.75pt;padding:0cm 0cm 3.75pt;min-height:45.75pt">
<p class=""><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><img width="61" height="61" src="cid:image001.png@01CEA7EA.27ED44D0" alt="Refineria Web"></span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td>
<td style="padding:0cm 0cm 3.75pt;min-height:45.75pt">
<p class="" style="line-height:13.5pt"><b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(49,80,71)">Adrián Granado </span></b><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(124,206,226)">PROGRAMADOR </span><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
<a href="mailto:%20adrian@refineriaweb.com" target="_blank"><span style="color:rgb(49,80,71);text-decoration:none">adrian@refineriaweb.com </span></a><u></u><u></u></span></p>
</td>
</tr>
</tbody></table>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
</div>
<table border="0" cellspacing="0" cellpadding="0" width="250" style="width:187.5pt">
<tbody><tr>
<td width="19" style="width:14.25pt;padding:0cm"></td>
<td style="border-style:none solid none none;border-right-color:white;border-right-width:1pt;background-color:rgb(124,206,226);padding:5.25pt 0cm 5.25pt 7.5pt">
<p class="" style="line-height:13.5pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:white">C/ Gran Vía Asima, 20 - 2º
Oficina 7<u></u><u></u></span></p>
<p class="" style="line-height:13.5pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:white">07009 Palma de Mallorca<br>
Teléfono 971 72 98 83 – Ext. 512<br>
Fax 971 780 391 <u></u><u></u></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm">
<p class=""><a href="http://www.refineriaweb.com/" target="_blank"><span style="font-size:9pt;font-family:Arial,sans-serif;text-decoration:none"><img border="0" width="268" height="30" src="cid:image002.png@01CEA7EA.27ED44D0" alt="Refineria Web"></span></a><span style="font-size:9pt;font-family:Arial,sans-serif;color:white"><u></u><u></u></span></p>
</td>
</tr>
</tbody></table>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0" width="189" style="width:5cm">
<tbody><tr>
<td width="137" style="width:102.75pt;padding:0cm"></td>
<td style="padding:0cm">
<p class="" style="margin-top:2.25pt"><a href="https://www.facebook.com/refineriaweb1" target="_blank"><span style="text-decoration:none"><img border="0" width="21" height="21" src="cid:image003.png@01CEA7EA.27ED44D0" alt="Siguenos en Facebook"></span></a><a href="https://twitter.com/refineriaweb" target="_blank"><span style="text-decoration:none"><img border="0" width="21" height="21" src="cid:image004.png@01CEA7EA.27ED44D0" alt="Siguenos en Twitter"></span></a><span style="font-size:12pt;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td>
</tr>
</tbody></table>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm">
<p class=""><b><span style="font-size:10pt;font-family:Tahoma,sans-serif;color:windowtext">De:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif;color:windowtext"> <a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>
[mailto:<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>] <b>En nombre de </b>Lajeesh
K<br>
<b>Enviado el:</b> lunes, 02 de septiembre de 2013 14:33<br>
<b>Para:</b> <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
<b>Asunto:</b> Re: [Vtigercrm-developers] Bug reporting vtiger 5.4<u></u><u></u></span></p>
</div>
</div>
<p class=""><u></u> <u></u></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)">Hi Joe,<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)">Empty will check if
the value is zero also. Ie, if a value is 0 it will considered as empty.
I have faced this issues when I have a dropdown which select value 0 to 10.
And when I select value zero it return the error required value is not
set<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)">Regards,<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)">Lajeesh<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm">
<p class=""><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif;color:windowtext">
<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>
[mailto:<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>] <b>On Behalf Of </b>Joe
Bordes<br>
<b>Sent:</b> Monday, September 02, 2013 5:38 PM<br>
<b>To:</b> <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
<b>Subject:</b> Re: [Vtigercrm-developers] Bug reporting vtiger 5.4<u></u><u></u></span></p>
</div>
</div>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class=""><span lang="EN-US">Can you explain why?<br>
I mean empty checks if the variable is set and if so, if it is different than
any empty or inexistent value, which, I understand, is exactly what it should
be doing to make sure the required fields have a value different than empty,
no?<br>
<br>
Joe<br>
TSolucio<br>
<br>
<br>
El 02/09/13 12:03, Lajeesh K escribió:<u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class=""><span lang="EN-US">Hi<u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US">There is bug in vtiger 5.4
module/webforms/capture.php line 56<u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US">if(empty($parameters[$webformField->getFieldName()]))
throw new Exception("Required fields not filled");<u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US">here its checking empty it should be isset
. I have found this error in 5.10 EA . So I doubt it be present in future
6 version . <u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US">Really surprised how this kind of simple
errors are still exists in vtiger<u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US"> <u></u><u></u></span></p>
<p class=""><span lang="EN-US">Regards,<u></u><u></u></span></p>
<p class=""><span lang="EN-US">Lajeesh<u></u><u></u></span></p>
<p class="" style="margin-bottom:12pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"><br>
<br>
<u></u><u></u></span></p>
<pre><span lang="EN-US">_______________________________________________<u></u><u></u></span></pre><pre><span lang="EN-US"><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><u></u><u></u></span></pre>
</blockquote>
<p class=""><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div><br>
</div></div>