by Vedisoft

Visualize and manage your "work in progress" by dragging and dropping your records. Add a Kanban view for any SugarCRM or SuiteCRM module. Great for sales pipelines, leads pipeline, account pipeline, support team boards, project management, and more.

Free 30 day trial
Try it Now

#2136 - bad sql in Sugar 7.7. Ent

Closed Bug? created by gary Verified Purchase 4 years ago

Hi, I have tested the plugin in a vanilla 7.7 and the create board reloads each time you select a variable, and the new Board you save is not available to you once you browse away from it.

I appears there is some bad sql in the logs

MySQL error 1052: Column 'assigned_user_id' in where clause is ambiguous

jt0.first_name rel_modified_by_name_first_name,
jt0.last_name rel_modified_by_name_last_name,
jt0.last_name modified_by_name,
jt0.created_by modified_by_name_owner,
'Users' modified_by_name_mod,
jt1.first_name rel_created_by_name_first_name,
jt1.last_name rel_created_by_name_last_name,
jt1.last_name created_by_name,
jt1.created_by created_by_name_owner,
'Users' created_by_name_mod, AS tag,
ts1.created_by team_count_owner,
'Teams' team_count_mod, team_name,
tj.created_by team_name_owner,
'Teams' team_name_mod,
jt6.first_name rel_assigned_user_name_first_name,
jt6.last_name rel_assigned_user_name_last_name,
jt6.last_name assigned_user_name,
jt6.created_by assigned_user_name_owner,
'Users' assigned_user_name_mod
LEFT JOIN users jt0
    ON kanban.modified_user_id =
    AND jt0.deleted = 0
    AND jt0.deleted = 0
LEFT JOIN users jt1
    ON kanban.created_by =
    AND jt1.deleted = 0
    AND jt1.deleted = 0
LEFT JOIN tag_bean_rel jt2
    ON = jt2.bean_id
    AND jt2.deleted = 0
LEFT JOIN tags jt3
    ON jt2.tag_id =
    AND jt2.deleted = 0
LEFT JOIN team_sets ts1
    ON kanban.team_set_id =
    AND ts1.deleted = 0
    AND ts1.deleted = 0
LEFT JOIN teams tj
    ON kanban.team_id =
    AND tj.deleted = 0
    AND tj.deleted = 0
LEFT JOIN users jt6
    ON kanban.assigned_user_id =
    AND jt6.deleted = 0
    AND jt6.deleted = 0
    assigned_user_id = '1'
    AND TYPE = 'personal'
AND kanban.deleted = 0

I think the WHERE should be :
    kanban.assigned_user_id = '1'
    AND TYPE = 'personal'
AND kanban.deleted = 0


  1. Vedisoft member avatar

    Vedisoft Provider

    4 years ago

    Hi Gary,
    Could you please describe what Kanban did you create?
    Clarify what did you select in these fields:
    - Target module:
    - Target field:    
    - Display as columns:
    - Display as closing columns:
    - Header fields:
    - Content fields:

    If you can give me access to your CRM I will try to repeat your problem, it will help us to resolve your issue sooner.
    You can send me URL, login and password here

    • gary member avatar

      gary Verified Purchase

      4 years ago

      Hi, it is effecting all modules and all boards. This was a vanilla test instance enterprise instance. In particular I selected Cases and am thrown out of the board, i can click back in and select the status field and again am throw out. At this point I can click back in and setup all remaining options, view the board and all functionality works fine. if I navigate away, the board I created is no longer available in the module. Following the fixes I have outlined here, everything is working fine.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...

Keep up to date on the latest additions

We'll send you an email every month with handpicked add-ons, reviews, tricks and tips. Don't worry, we hate spam as much as you do.