Missing config_export keys and undefined method urlInfo()

Created on 6 November 2024, about 1 month ago

Problem/Motivation

First Issue: Missing fields in config_export

In the Mailjet Subscription module, not all fields are included in `config_export`, which means the configuration isnโ€™t saved properly or accessible within the entity object.

Undefined Method

When saving the form, thereโ€™s an issue with an undefined method `urlInfo()`.

Steps to Reproduce

1. Enable the Mailjet Subscription module.
2. Create a subscription.

Proposed Resolution

Fix for Missing config_export Fields

Add the missing fields in `mailjet/modules/mailjet_subscription/src/Entity/SubscriptionForm.php`.

Fix for Undefined Method

Use `toUri()` instead of `urlInfo()`, as `urlInfo()` has been deprecated. Update in `contrib/mailjet/modules/mailjet_subscription/src/Form/SubscriptionFormFormBase.php`.

๐Ÿ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡ฟ๐Ÿ‡ฆSouth Africa ashrafomar Cape Town

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

Comments & Activities

Production build 0.71.5 2024