Custom NotNull Validator fails with custom entities without bundle

Created on 7 November 2017, about 7 years ago
Updated 12 October 2023, about 1 year ago

getBundleEntityType() potentially returns null which will result in an error in the CommerceAutoSkuManager. A possible scenario is a custom entity without bundles.

I attached a patch. I hope this is a halfway decent solution.

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria archnode Linz

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

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