Verify the node exists before creating and saving the xmlsitemap link

Created on 14 June 2019, about 5 years ago
Updated 17 April 2023, about 1 year ago

Problem/Motivation

Had an error in my cronjob that was caused by not checking if the node exists before doing anything with it.

Proposed resolution

Checks if it loaded before it does anything with it.

Remaining tasks

* Add documentation about it sending a watchdog notice saying which node failed to load.

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

xmlsitemap_node.module

Created by

πŸ‡³πŸ‡±Netherlands ChristiaanDev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024