[Vtigercrm-developers] assigned to filtering in list view - not working?

Richard Hills - Technologywise richard at tw.co.nz
Tue Sep 23 03:12:55 GMT 2014


Still talking to myself, but I will hold debugging on this for now to 
give someone a chance to give input.

I found now that my issue with editing users is down to the following 
piece of code:

modules/Users/models/Record.php

public static function getDayStartsPicklistValues($stucturedValues){
                $hour_format = 
$fieldModel['hour_format']->getPicklistValues();
                $start_hour = 
$fieldModel['start_hour']->getPicklistValues();

Here I am actually passing nothing through which is causing the load to 
fail.

Thanks again for any hinters as to what may have gone wrong with this 
migration attempt.


On 23/09/14 14:53, Richard Hills - Technologywise wrote:
> And another update, this is now working fine after I manually added 
> the field vtiger_roles.allowassignedrecordsto and then edited each of 
> the roles in our setup.
>
> Did I miss a patch somewhere when this database column was added prior 
> to the 6/6.1 releases, or is this a failure in the migration 
> process/migration process ending before completion?
>
> I can still not edit/create users and would love some advice as to 
> wether I may again be missing a database column.
>
> Thanks
>
> On 23/09/14 14:44, Richard Hills - Technologywise wrote:
>> My picklist issue seems to be caused by:
>>
>> $currentUserRoleModel->get('allowassignedrecordsto')
>>
>> always returning NULL. Can someone advise where/when this value is 
>> meant to be set?
>>
>> Thanks
>>
>> On 23/09/14 13:10, Richard Hills - Technologywise wrote:
>>> Actually a follow up on this my entire users module seems to fail 
>>> with exception of the list view. The rest of these render the page 
>>> fine however in the main right hand area there is no content 
>>> generated. That is to say the div with class "contentsDiv span10 
>>> marginLeftZero" is empty.
>>>
>>> At this point I'd like to see the field schema for vtiger_users if 
>>> anyone can point me to it so I can ensure that this is fine. And 
>>> again, any suggestions as to debugging methods would be appreciated.
>>>
>>> On 23/09/14 12:59, Richard Hills - Technologywise wrote:
>>>> In my most recent 6.1 install (with migration tool downloaded from 
>>>> website on 19/09/2014 the assigned to search within list as well as 
>>>> the assigned to field on crm entities does not show any users as 
>>>> options (just groups). The assigned to field is properly linked to 
>>>> users when I view records assigned to users, however once trying to 
>>>> edit one they are reset to be blank.
>>>>
>>>> As I have not seen the issue reported before I presume this is just 
>>>> an issue with our migration, but any advice would be great. This is 
>>>> just a test migration looking towards doing a real one in around a 
>>>> month once we've tackled all these sorts of teething problems.
>>>>
>>>> Thanks in advance.
>>>>
>>>
>>
>

-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061



More information about the vtigercrm-developers mailing list