Bug unable to edit inline email recipients for Schedule Report Module #5330

Open
opened 2026-02-20 16:59:43 -05:00 by deekerman · 0 comments
Owner

Originally created by @BeastMasterGrinder on GitHub (Jun 17, 2025).

Issue

This is because when we edit them inline it is not send as a POST req and the email_recipient field is not send through it. You can see the difference through actions called.
When you make a record from scratch it is action_save action however when you edit it inline it's action is action_savehtmlfield One is a POST with all the fields and the other is not.

This in turn sends a null to parseRecipients function in the main Module file. It can not find the email_recipient so it sets it as null.

This may be because when you open inline edit the form tag does not have a onSubmit or actionMethod POST.

Possible Fix

Possible Fix is to send it with POST

Steps to Reproduce the Issue

1. Create an Empty Schedule Report record with no email recipient
2. Once made. Try to inline Edit it save it
...

Context

Context: Messing with the codebase

Version

8.6.0, 8.7.0

What browser are you currently using?

Firefox

Browser Version

No response

Environment Information

mysql Ver 15.1 Distrib 10.4.32-MariaDB, for Linux (x86_64) using readline 5.1, PHP 8.2.12

Operating System and Version

20.04.4

Originally created by @BeastMasterGrinder on GitHub (Jun 17, 2025). ### Issue This is because when we edit them inline it is not send as a POST req and the email_recipient field is not send through it. You can see the difference through actions called. When you make a record from scratch it is ``` action_save ``` action however when you edit it inline it's action is ``` action_savehtmlfield ``` One is a POST with all the fields and the other is not. This in turn sends a null to ``` parseRecipients ``` function in the main Module file. It can not find the email_recipient so it sets it as null. This may be because when you open inline edit the ``` form ``` tag does not have a onSubmit or actionMethod POST. ### Possible Fix Possible Fix is to send it with POST ### Steps to Reproduce the Issue ```bash 1. Create an Empty Schedule Report record with no email recipient 2. Once made. Try to inline Edit it save it ... ``` ### Context Context: Messing with the codebase ### Version 8.6.0, 8.7.0 ### What browser are you currently using? Firefox ### Browser Version _No response_ ### Environment Information mysql Ver 15.1 Distrib 10.4.32-MariaDB, for Linux (x86_64) using readline 5.1, PHP 8.2.12 ### Operating System and Version 20.04.4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5330
No description provided.