Error filtering a dashlet by a related field created in the constructor #10528
Labels
Area: Dashlets
Issues & PRs related to all things regarding the dashlets
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
Error filtering a dashlet by a related field if the field was created in the constructor.
This error is observed in suitecrm.log:
Query Failed: SELECT users.id , users.created_by FROM users where (user_id_c='1' ) AND users.deleted=0: MySQL error 1054: Unknown column 'user_id_c' in 'where clause'
Video:
Possible Fix
No response
Steps to Reproduce the Issue
Query Failed: SELECT users.id , users.created_by FROM users where (user_id_c='1' ) AND users.deleted=0: MySQL error 1054: Unknown column 'user_id_c' in 'where clause'
Context
No response
Version
7.14.5
What browser are you currently using?
Firefox
Browser Version
129.0.2 (64-bit)
Environment Information
MySQL, PHP Version 7.4.33
Operating System and Version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: