Problem/Motivation

src/Plugin/Field/FieldWidget/BootstrapDatepickerBase.php calls deprecated entity.manager which breaks the widget upon selection.

This needs an update to use entity_type.manager

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

greg.zielinski created an issue. See original summary.

greg.zielinski’s picture

This should fix it

imre.horjan’s picture

Title: Replace depracated EntityManager with EntityTypeManager » [D9] Replace depracated EntityManager with EntityTypeManager
Version: 8.x-1.0-beta3 » 8.x-1.x-dev
Status: Active » Reviewed & tested by the community
Issue tags: +Drupal 9 compatibility

Works for me using the 8.x-1.x-dev branch.
Looks like RTBC

Status: Reviewed & tested by the community » Needs work
imre.horjan’s picture

Status: Needs work » Reviewed & tested by the community

I've just created a Merge Request for this one as well.

imre.horjan’s picture

Hi Martijn,
This code change is included in the latest patch of https://www.drupal.org/project/bootstrap_datepicker/issues/3147249#comme...
I couldn't find that issue in the queue because that's closed already.
Could you please merge this or apply the patch provided in the D9 compatibility issue?
Many thanks

  • imre.horjan committed 402faaa on 8.x-1.x
    Issue #3220495 by greg.zielinski: Replace depracated EntityManager with...
martijn de wit’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for all the work you are doing Imre !

martijn de wit’s picture

martijn de wit’s picture

Status: Fixed » Closed (fixed)

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