- Issue created by @intrafusion
- First commit to issue fork.
- 🇮🇳India dineshkumarbollu
Hi
I reviewed the patch#2 it as still D10 issues in Unit Test file.
vendor/bin/drush upgrade_status:analyze webform_scheduled_tasks
[notice] Processing /var/www/html/vb9/web/modules/contrib/webform_scheduled_tasks-3371376.================================================================================
Webform Scheduled Tasks, --
Scanned on Thu, 06/29/2023 - 21:57FILE:
web/modules/contrib/webform_scheduled_tasks-3371376/src/Plugin/WebformScheduledT
asks/Task/EmailedExport.phpSTATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 287 Call to deprecated function file_create_url(). Deprecated in
drupal:9.3.0 and is removed from drupal:10.0.0. Use the
appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead.
--------------------------------------------------------------------------------FILE:
web/modules/contrib/webform_scheduled_tasks-3371376/tests/src/Functional/Schedul
edTaskRunTest.phpSTATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 68 Call to deprecated method drupalPostForm() of class
Drupal\Tests\BrowserTestBase. Deprecated in drupal:9.1.0 and
is removed from drupal:10.0.0. Use $this->submitForm()
instead.
-------------------------------------------------------------------------------- - First commit to issue fork.
- @sakthi_dev opened merge request.
- Status changed to Needs review
over 1 year ago 5:47pm 29 June 2023 - First commit to issue fork.
- 🇺🇸United States loopy1492
It looks like a line was accidentally left in on EmailedExportFileDownloadAccessTest. I have removed it.
- 🇺🇸United States loopy1492
I am not entirely sure this is correct, but it seems to have resolved the error:
https://git.drupalcode.org/project/webform_scheduled_tasks/-/merge_reque...
- 🇺🇸United States loopy1492
I keep getting this error no matter what I do:
TypeError: Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\Task\EmailedExport::__construct(): Argument #9 ($fileUrlGenerator) must be of type Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\Task\FileUrlGenerator, Drupal\Core\File\FileUrlGenerator given, called in /var/www/docroot/modules/contrib/webform_scheduled_tasks/src/Plugin/WebformScheduledTasks/Task/EmailedExport.php on line 114 in Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\Task\EmailedExport->__construct() (line 91 of /var/www/docroot/modules/contrib/webform_scheduled_tasks/src/Plugin/WebformScheduledTasks/Task/EmailedExport.php).
Someone who actually understands this module is probably going to have to fix this.
- 🇺🇸United States esteinborn Albany, NY
How goes this, my fine people? Ready to re-test in D10?
- 🇮🇳India mohit_aghera Rajkot
I think we have been working parallel on two issues.
#3371376 (this one)https://www.drupal.org/project/webform_scheduled_tasks/issues/3299496 📌 Automated Drupal 10 compatibility fixes Needs review The other one
Second one mentioned above seems to have more number of changes and superset of current one.
I think we should redirect effort at one place and make it ready.I am going to update second PR with Gitlab ci template and ensure that it passes all the test cases.
Let's close this issue in favour of the other one at https://www.drupal.org/project/webform_scheduled_tasks/issues/3299496 📌 Automated Drupal 10 compatibility fixes Needs review
- Status changed to Closed: duplicate
about 1 year ago 9:21am 3 November 2023