[Vtigercrm-developers] Critical bug on get_dependents_list

PlaymaN Tepes sshhocckk at gmail.com
Fri Sep 26 06:33:17 GMT 2014


Yeah sorry,

I noticed once i published this topic, my apologizes.

2014-09-25 4:55 GMT+02:00 Prasad <prasad at vtiger.com>:

> This is not a bug. It is intended override for see also
> include/RelatedListView.php
>
> *Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
> <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
> <https://blogs.vtiger.com/>* I* Wiki
> <http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
> <https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>
>
> On Wed, Sep 24, 2014 at 8:05 PM, PlaymaN Tepes <sshhocckk at gmail.com>
> wrote:
>
>> Hi Community,
>>
>> I was trying to make a 1-N relationship, or, in vtiger terms, a
>> dependents_list in module Accounts.
>>
>> What I found its that its impossible to make this relationship because
>> the function returing the results is an empty array:
>>
>> file include/Webservices/Relation.php - line 11 (
>> http://trac.vtiger.com/svn/vtiger/vtigercrm/trunk/include/Webservices/Relation.php
>> )
>>
>> function
>> GetRelatedList($module,$relatedmodule,$focus,$query,$button,$returnset,$id='',$edit_val='',$del_val='',$skipActions=false)
>> {
>> return array( 'query' => $query , 'entries' => array() );
>> }
>>
>>
>> As you can see, array is empty.
>>
>> Actually, if you try to create an Asset for an Account, the related view
>> shows 0 records because of this, so the solution is make new functions like
>> "get_opportunities", "get_invoices" etc.
>>
>> My concern is if vTiger team is aware of this *critical *bug?
>>
>> Regards
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140926/7148edeb/attachment.html>


More information about the vtigercrm-developers mailing list