mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Users cannot be edited + Inbound email settings cannot be opened #5323
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-SuiteCRM#5323
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 @brunt82 on GitHub (May 26, 2025).
Issue
We recently updated our SuiteCRM instance from 7.14.6 to 8.8.0. We're now experiencing the following error (although it may have already existed in 7.14):
When we try to edit a user or open the email inbound settings, a blank page appears, and the browser logs an HTTP-500 error.
The following stack trace appears in the Apache log:
By adding the following lines of code in public function calculateSignature() we work around the problem:
Thanks to the additional log line, we were able to determine that the retrieved user IDs actually no longer exist in the database. The user IDs can be found in the "created by" column of the "inbound_email" table:
After deactivating the corresponding inbound rules by setting the "deleted"-flag to "1" in inbound_email-table, the code could be removed from the PHP file and editing the user objects is now possible and the Inbound rules are displayed correctly.
Possible Fix
No response
Steps to Reproduce the Issue
Context
No response
Version
8.8.0
What browser are you currently using?
Firefox
Browser Version
No response
Environment Information
10.11.11-MariaDB
Operating System and Version
Debian 12
@brunt82 commented on GitHub (May 26, 2025):
Sorry, seems that I created the issue in the wrong queue? Maybe SuiteCRM-Core fits it better?
@johnM2401 commented on GitHub (May 26, 2025):
Hey!
Thank you for raising this, I'm happy to keep this in the current "SuiteCRM" repo as I've been able to reproduce this on 7.14.6 too.
As it is replicable on both versions, if a fix is merged for this on the SuiteCRM branch, it will also be pulled into a subsequent SuiteCRM8 release.
Thank you again!