2

After migrating from 7.89 to 9.3.12 this warning appears:

ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions The following changes were detected in the entity type and field definitions. File The URL alias field needs to be installed.

How do I solve this?

5
  • Note: Also asked at drupal.org/project/drupal/issues/3279976, which I closed because this is actually a better place for support.
    – cilefen
    May 12, 2022 at 17:28
  • Please post complete steps to reproduce this situation.
    – cilefen
    May 12, 2022 at 17:29
  • go into new site and the error above is listed in Configuration.....the links to audio files which worked fine in 7.89 are not populated in 9.3.12....you can usually click on the link and it plays the audio file.....
    – KAGmalpass
    May 12, 2022 at 18:35
  • That is not steps to reproduce.
    – cilefen
    May 12, 2022 at 20:00
  • It came up after the upgrade....no way to reproduce it short of doing another upgrade....
    – KAGmalpass
    May 17, 2022 at 17:18

1 Answer 1

2

This issue can only happen if you have two modules installed at the same time. Pathauto and File Entity. It is rare that you need File Entity in Drupal 9 because we have now Media entities. You are probably still using it because you've used it in Drupal 7. But it is very rare that you need the field "URL alias" in the File entity. See https://www.drupal.org/project/file_entity/issues/2655844#comment-14212446

So try out this patch to remove this field:

https://www.drupal.org/project/file_entity/issues/2655844#comment-14213753

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.