We use a commerce_cardpointe module which defines an entity commerce_cardpointe_terminal. There is no field_indexes definition in the annotation since this is an optional key. But CommerceContentEntityStorageSchema doesn't check it and throws warnings

[warning] foreach() argument must be of type array|object, null given CommerceContentEntityStorageSchema.php:21

Comments

s_kulyk created an issue. See original summary.

s_kulyk’s picture

Status: Active » Needs review
StatusFileSize
new1.19 KB

Patch

  • jsacksick committed ebc2ae38 on 3.x
    fix: #3565625 Possible invalid argument for foreach in...
jsacksick’s picture

Version: 3.2.0 » 3.x-dev
Status: Needs review » Fixed
StatusFileSize
new1.09 KB

Committed a slightly different fix, but thanks for your patch anyway...

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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