Comments

voleger created an issue. See original summary.

voleger’s picture

Assigned: voleger » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.45 KB

Replacement introduced in drupal:8.8.0

dave reid’s picture

I don't really feel comfortable requiring 8.8 quite yet, so I want to let this hold for a while.

dave reid’s picture

Status: Needs review » Needs work

This needs to update core_version_requirement as well.

sidharthap’s picture

Status: Needs work » Needs review
StatusFileSize
new1.67 KB

Updated core_version_requirement.

sidharthap’s picture

StatusFileSize
new1.68 KB

Core key removed from info file.

salah1’s picture

neclimdul’s picture

+++ b/xmlsitemap.module
@@ -422,7 +422,9 @@ function xmlsitemap_sitemap_get_file(XmlSitemapInterface $sitemap, $chunk = 'ind
-  foreach (file_scan_directory($dir, '/\.xml$/') as $file) {
+  /** @var \Drupal\Core\File\FileSystemInterface $file_system */
+  $file_system = \Drupal::service('file_system');
+  foreach ($file_system->scanDirectory($dir, '/\.xml$/') as $file) {

Do we care about the exception handling and directory checks file_scan_directory was doing?

Otherwise looks great.

ilgnerfagundes’s picture

Status: Needs review » Needs work
StatusFileSize
new91.3 KB

The patch does not apply, wouldn't it be better to correct these conflicts already?

voleger’s picture

Status: Needs work » Needs review
StatusFileSize
new1.15 KB
voleger’s picture

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

  • pifagor committed 1744784 on 8.x-1.x authored by voleger
    Issue #3099673 by voleger, sidharthap, ilgnerfagundes, salah1, neclimdul...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed
neclimdul’s picture

Do we care about the exception handling and directory checks file_scan_directory was doing?

Guess that's a no :-D Thanks!

voleger’s picture

Status: Fixed » Closed (fixed)

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