Missing config_export keys and undefined method urlInfo()

Created on 6 November 2024, 7 months 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