Error when to attach file just by content (without path provided)

Created on 10 August 2023, over 1 year ago

Problem/Motivation

MimeMailFormatHelper::mimeMailFile() file triggers error when all params are set but path param is NULL.

Steps to reproduce

This error was found while working with Webform module.

1. Create webform.
2. Attach file.
3. Send email using Mimemail format selected.

Proposed resolution

There is code block to check accessibility and returns URL value if not accessible.
Add if statement to check if URL is given.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Austin986

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024