[Vtigercrm-developers] Critical bug on get_dependents_list

Prasad prasad at vtiger.com
Thu Sep 25 02:55:09 GMT 2014


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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140925/e38b8cb4/attachment.html>


More information about the vtigercrm-developers mailing list