[Vtigercrm-developers] getDefaultUrl in Vtiger_Module_Model (Vtiger 6.0)

Uma S uma.s at vtiger.com
Tue Feb 25 11:14:14 GMT 2014


Hi,

Name paramater cant be empty, Because getComponentClassName api wich
generates module class name, Based on ModuleName passed as default value
for module as Vtiger.


On Mon, Feb 24, 2014 at 9:36 PM, Stencel, Maciej <m.stencel at opensaas.pl>wrote:

> Hi VT team!
>
> I have a question why when I create Vtiger_Module_Model object using
> ::getCleanInstance('modulename');
>
> 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.
>
> If I create the object using getInstance('modulename') everything works as
> should.
>
> I think there is a bug in earlier function, or is there some kind of
> wicked philosophy why name parameter there is always empty? ;)
>
> *Z poważaniem / Best regards*
>
> *Maciej Stencel*
> *Tel: +48 884-997-123*
>
> *m.stencel at opensaas.pl <m.stencel at opensaas.pl>www.OpenSaaS.pl
> <http://www.opensaas.pl/>*
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/f600b996/attachment.html>


More information about the vtigercrm-developers mailing list