Comments

ChristianAdamski created an issue. See original summary.

christianadamski’s picture

Status: Active » Needs review
StatusFileSize
new6.1 KB

Replace deprecated functions and reformat code where due.

christianadamski’s picture

StatusFileSize
new6.61 KB

- updated toUrl() returning Url Object instead of String
- catch exception if 'canonical' link is not set.
Will now default to frontpage, but should actually be handled before allowing this entity type to be processed in the first place.

christianadamski’s picture

Title: XmlSitemapLinkStorage has deprecated functions and coding style issues » XmlSitemap has deprecated functions and coding style issues
StatusFileSize
new88.87 KB

- fixes coding style issues across the module
- adds missing methods instead magically accessing values
- moves the batch handling mostly into the generator via static methods and removes them from .module file

christianadamski’s picture

StatusFileSize
new88.95 KB

-fix in EntityForm.

The last submitted patch, 3: 2752217-3-deprecated-code-style.patch, failed testing.

The last submitted patch, 4: 2752217-4-coding-style.patch, failed testing.

The last submitted patch, 2: 2752217-2-deprecated-code-style.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 5: 2752217-5-coding-style.patch, failed testing.

The last submitted patch, 2: 2752217-2-deprecated-code-style.patch, failed testing.

The last submitted patch, 3: 2752217-3-deprecated-code-style.patch, failed testing.

The last submitted patch, 4: 2752217-4-coding-style.patch, failed testing.

The last submitted patch, 5: 2752217-5-coding-style.patch, failed testing.

amateescu’s picture

This would be a lot easier to review if you can post multiple patches with smaller focus areas.

voleger’s picture

amateichuk’s picture

StatusFileSize
new40.91 KB

Replaced some deprecated methods

dave reid’s picture

Status: Needs work » Closed (duplicate)

Lots of things wrong with the latest patch. Will be fixing this in #3042673: Drupal 9 Ready so marking as a duplicate.