mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 22:57:00 -05:00
Create Campaigns write some errors on log file #3226
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM#3226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @goncaloLopesMarques on GitHub (Jul 2, 2018).
Create campaigns throw many errors on the log file
Issue
When i press the new campaign button suitecrm write in log the folling errors:
Mon Jul 2 17:44:32 2018 [2310][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:44:32 2018 [2310][1][ERROR] Unsupported segments file format
then when i press Newsletter the folling erros:
Mon Jul 2 17:45:00 2018 [2310][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:45:00 2018 [2310][1][ERROR] Unable to get proper side for link assigned_user_link
then i choose the name and the status and more errors:
Mon Jul 2 17:46:02 2018 [2310][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:46:02 2018 [2310][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:46:02 2018 [2310][1][ERROR] Unsupported segments file format
then choose the targets list and press next:
Mon Jul 2 17:46:45 2018 [2284][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:45 2018 [2284][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:45 2018 [2284][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jul 2 17:46:49 2018 [2335][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:49 2018 [2335][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:56 2018 [2310][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:56 2018 [2310][1][ERROR] Unable to get proper side for link assigned_user_link
Mon Jul 2 17:46:59 2018 [2335][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:46:59 2018 [2335][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:46:59 2018 [2335][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:47:00 2018 [2284][1][ERROR] Unable to find relationship surveys_campaigns
After choose the mail template errors
Mon Jul 2 17:48:18 2018 [2335][1][ERROR] convert: Conversion of : 12:00am from m/d/Y h:ia to Y-m-d H:i:s failed
after that
Mon Jul 2 17:49:54 2018 [2284][1][ERROR] Unable to find relationship surveys_campaigns
And finally i Scheduled the campaign and more errors
Mon Jul 2 17:51:01 2018 [2310][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:51:01 2018 [2335][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:51:01 2018 [2335][1][ERROR] Unable to find relationship surveys_campaigns
Mon Jul 2 17:51:01 2018 [2284][1][ERROR] Unable to find relationship surveys_campaigns
Your Environment
Version 7.10.4
Debian GNU/Linux 9.4 (stretch)
Chrome(latest version)
mysql Version 14.14 Distrib 5.7.21, for linux-glibc2.12 (x86_64)
php version 7.0.28
@belchfireid commented on GitHub (Jul 13, 2018):
I have a similar problem, with this error logged each time a user selects a campaign:
[ERROR] Unable to find relationship surveys_campaigns
Using Studio, I don't see the above relationship under either Campaigns or Surveys.
We recently updated from SugarCRM 6.5.18 to SuiteCRM 7.10.7
@westmalle commented on GitHub (Oct 27, 2018):
I have the same issue : this error appears in the log when I view a campaign.
Sat Oct 27 15:54:28 2018 [135][1][ERROR] Unable to find relationship surveys_campaigns
Version 7.10.10
Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.11
10.1.36-MariaDB
@Abuelodelanada commented on GitHub (Nov 26, 2018):
I found the same issue when trying to send test emails
The relationship surveys_campaigns is not defined:
Version: SuiteCRM 7.10.10
@Abuelodelanada commented on GitHub (Nov 26, 2018):
Hi @samus-aran @daniel-samson
Can you prioritize this issue? The test mails in campaigns are not sent.
@pgorod commented on GitHub (Nov 27, 2018):
@Abuelodelanada are you sure? I was under the impression that everybody has this error about the missing relationship, but that it was a harmless error, with no consequences. I didn't think it was keeping emails from being sent. 🤔
@pgorod commented on GitHub (Nov 27, 2018):
I can't do any fix now, but just for future reference I had a talk with Jim Mackin about this relationship surveys_campaigns and he's not fully sure of what is missing, says it might just be a problem with the logs, but anyway:
A label can added created in
modules/Campaigns/language/en_us.lang.phplike thisAnd the relationship that is currently referenced here
https://github.com/salesagility/SuiteCRM/blob/master/modules/Campaigns/vardefs.php#L284
can (should!) be properly defined somewhere.
@Abuelodelanada commented on GitHub (Nov 27, 2018):
Hi @pgorod !
About the missing relationship I can write the PR.
What kind of relationship surveys_campaigns is? one-to-many, many-to-many ?
@pgorod commented on GitHub (Nov 28, 2018):
Jim says that
Thanks José!
@Abuelodelanada commented on GitHub (Nov 29, 2018):
@pgorod I open #6549 for the missing relationship
@pgorod commented on GitHub (Dec 19, 2019):
@Abuelodelanada can this Issue be closed?
@johnM2401 commented on GitHub (Mar 31, 2025):
Hey All
Thank you for your contributions and discussions on this.
This issue looks to have been resolved with the PR: https://github.com/salesagility/SuiteCRM/pull/6550
So I'm going to close this off for now.
If you're still seeing this issue in the latest releases, please get in touch and we would be happy to reinvestigate.
Thanks!