I have tried to convert entities for Media (core module since v8.4) and got the error: Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause': UPDATE {media} SET type=:db_update_placeholder_0.
Providing the patch for fixing.
Please review.

Comments

RuslanP created an issue. See original summary.

glardup’s picture

Patch worked for me (D8.7.10). Thanks a lot!!

  • el1_1el committed 786de58 on 8.x-1.x authored by RuslanP
    Issue #3071517 by RuslanP: Unable to convert media entity type
    
el1_1el’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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