- Issue created by @Marcin Dębicki
- Status changed to Closed: duplicate
over 1 year ago 8:19am 27 June 2023 - 🇵🇱Poland Marcin Dębicki Poland, Goleniów
Fixed in Automated Drupal 10 compatibility fixes 📌 Automated Drupal 10 compatibility fixes Needs work
The automated Drupal 10 compatibility patch from the bot seemed not enough ( https://www.drupal.org/project/popup_message/issues/3289114 📌 Automated Drupal 10 compatibility fixes Needs work ). We need to replace deprecated classes with current ones:
Another issue is that the jquery.cookie dependency is removed from core and need to be replaced with core/js-cookie. We need to update module's libraries dependencies list and js code to use js-cookie.
Additionally the constant FILE_STATUS_PERMANENT is deprecated. W need to replace its usage with \Drupal\file\FileInterface::STATUS_PERMANENT and to check the status of a file, we need to use \Drupal\file\FileInterface::isPermanent() or \Drupal\file\FileInterface::isTemporary().
Closed: duplicate
2.0
Code
Fixed in Automated Drupal 10 compatibility fixes 📌 Automated Drupal 10 compatibility fixes Needs work