mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Compose Email button in Activities shown twice and/or with wrong styling #4120
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#4120
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 @ebogaard on GitHub (Nov 19, 2019).
Originally assigned to: @johnM2401 on GitHub.
Issue
When setting:
All action-menu options are presented as buttons. This goes for teh top buttons, as well as those in the subpanels.
In the Activities-subpanel, there is an issue witth the "Compose Email"-button, depending on the current user setting:
Expected Behavior
Actual Behavior
See issue.
Possible Fix
I'll provide a PR.
Steps to Reproduce
Context
Your Environment
@Mac-Rae commented on GitHub (Nov 19, 2019):
Hi @ebogaard,
This issue has been confirmed to exist and is replicable in the latest 7.10.x version.
Thanks 👍
@dtosun61 commented on GitHub (Nov 21, 2019):
When i apply fix, it doesn't fixed.

@craigpanton commented on GitHub (Nov 27, 2019):
@dursuntosun Could you please try doing a repair and rebuild/clearing your cache and trying again? It appears to work from our testing.
@gunnicom commented on GitHub (Nov 27, 2019):
Duplicate https://github.com/salesagility/SuiteCRM/issues/7759
@dtosun61 commented on GitHub (Nov 27, 2019):
Sure, i did it. Let me check again.

Update: Changing my all code with new one. That is ok at the moment.
if possible can we make a space between two button.
@Mac-Rae commented on GitHub (Nov 28, 2019):
@dursuntosun Ye that's a weird issue with all the individual button. Feel free to raise a new issue and we will take a look at it 👍
@bunglex commented on GitHub (Jan 20, 2022):
This fix does not work for me. even after running repair and clearing out the cache. I had to change line104 to
$button = "<input class='button' onclick='$(document).openComposeViewModal(this);' data-module='". $bean->module_name . "' data-record-id='". $bean->id . "' data-module-name='" . $bean->name . "' data-email-address='" . $bean->email1 . " ' type='button' id='$inputID' value='$this->form_value'>";and comment out lines 105>110 and also 131.
The button then works correctly
@SuiteBot commented on GitHub (Jan 20, 2022):
This issue has been mentioned on SuiteCRM. There might be relevant details there:
https://community.suitecrm.com/t/activity-subpanel-compose-email-button-duplicated/73865/11
@dtosun61 commented on GitHub (Feb 21, 2022):
Hello,

It comes back to 7.12.4. Please fix it. it was taken from new installation.
@craigpanton commented on GitHub (Feb 22, 2022):
Hi @dtosun61 ,
Thank you for indicating this issue has reappeared.
We will reopen the issue and a member of our team will assess soon.
@pgorod commented on GitHub (Apr 6, 2022):
Please test PR https://github.com/salesagility/SuiteCRM/pull/9559
@gunnicom commented on GitHub (Nov 17, 2022):
Still not fixed in 7.12.7
@Talboy commented on GitHub (Jan 12, 2023):
I can confirm that after upgrade from 7.12.7 --> 7.13 the problem persists!
I had hoped that the upgrade would fix this issue.
@johnM2401 commented on GitHub (Jun 11, 2025):
Hey!
Thank you for raising this issue, and for everyone's contributions on this issue!
I have given this a few tries in the latest release, and I can no longer replicate this issue:
It looks as though this was resolved with the PR: https://github.com/salesagility/SuiteCRM/pull/9559
I'm going to close this off for now.
However, if you're still seeing this issue in the latest releases, please don't hesitate to get in touch.
Thank you again for your contributions to the project!