<div dir="ltr">Hi,<div><br></div><div>Name paramater cant be empty, Because getComponentClassName api wich generates module class name, Based on ModuleName passed as default value for module as Vtiger.</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 9:36 PM, Stencel, Maciej <span dir="ltr"><<a href="mailto:m.stencel@opensaas.pl" target="_blank">m.stencel@opensaas.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi VT team!<div><br></div><div>I have a question why when I create Vtiger_Module_Model object using ::getCleanInstance('modulename');</div><div><br></div><div>getDefaultUrl() will return corrupted default url link. Name parameter is always empty and hence module parameter in url is empty too, making the url corrupted.</div>


<div><br></div><div>If I create the object using getInstance('modulename') everything works as should.</div><div><br></div><div>I think there is a bug in earlier function, or is there some kind of wicked philosophy why name parameter there is always empty? ;)</div>


<div><br clear="all"><div><div dir="ltr"><div style="color:rgb(136,136,136)"><b style="color:rgb(34,34,34)">Z poważaniem / <span style="font-size:10pt">Best regards</span></b><span class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font color="#888888"><div style="color:rgb(136,136,136)">
<b style="color:rgb(34,34,34)"><span style="font-size:10pt"><br></span></b></div><div style="color:rgb(136,136,136)"><b>Maciej Stencel</b></div><div style="color:rgb(136,136,136)"><b>Tel: <a value="+48884998123" style="color:rgb(17,85,204)">+48 884-997-123</a></b></div>


<div style="color:rgb(136,136,136)"><b><a href="mailto:m.stencel@opensaas.pl" style="color:rgb(17,85,204)" target="_blank">m.stencel@opensaas.pl</a><br><font color="#888888"><span style="color:rgb(127,127,127)"></span></font><font color="#888888"><span style="color:rgb(127,127,127)"><a href="http://www.opensaas.pl/" style="color:rgb(17,85,204)" target="_blank">www.OpenSaaS.pl</a></span></font></b></div>


</font></span></div></div>
</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 dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</div>