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.

Second Issue: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`.

Comments

ashrafomar created an issue. See original summary.

ashrafomar’s picture

Issue summary: View changes
Status: Active » Needs work
StatusFileSize
new1.79 KB
ashrafomar’s picture

Status: Needs work » Needs review
paulguy’s picture

This patch seems not required anymore with 4.0.2

yara mezher’s picture

Second Issue has been resolved in 4.0.2, However, the First Issue of missing fields in config_export persists.
This is a patch for version 4.0.2.

mihaskep’s picture

Assigned: ashrafomar » mihaskep
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.