Fix module dependencies

Created on 13 November 2020, about 4 years ago
Updated 6 August 2024, 4 months ago

Problem/Motivation

When trying to install the module with Commerce 2.17 the error is displayed.
Fatal error: Trait 'Drupal\commerce\EntityOwnerTrait' not found in /var/www/html/web/modules/contrib/commerce_giftcard/src/Entity/Giftcard.php on line 69

Steps to reproduce

Try to install the module with Commerce module lower than 2.20

Proposed resolution

Change composer.json to rely on commerce module higher than 2.20 and also change .info.yml file

Remaining tasks

Create the patch

User interface changes

No changes.

API changes

No changes.

Data model changes

No changed

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024