-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with sitemap: null #451
Issue with sitemap: null #451
Comments
I am seeing the same issue after the update. The plugin documentation explicitly recommends setting |
Seems to have come from the changes in #441 |
yes, #441 breaks the possibility to have |
cc @moonmeister |
Yup, we just need a null check and some tests probably. I'll do it if I find time. |
@moonmeister @laurenskling @eDubrovsky I am really sorry, but I don't have a free time to fix that issue. I would appreciate if someone could look at it and fix. |
@mdreizin or whomever...I'm trying to understand how you're getting an error thrown here. the lines 59-69 of this code should check for this null value and properly fill in the site url from the |
Just realized those existing if statements aren't null checks, they're checking for existing properties, null or not. I'll look at this again and see what what I can figure out. |
Restores ability to set `sitemap` or `host` to `null` as documented in project README. Existing tests passing but new tests will be needed to prevent similar bugs in future.
Has this issue been resolved? |
I don't believe so. |
@moonmeister could I just reroll to an older version of the plugin and then this issue wouldn't exist? |
Sure but you'll have other issues that this update solved. I may have time to check this out soon. Feel free to contribute a fix too. |
…s. Update tests.
Can we please have a release of the fix? 😅 |
Please check the latest version. |
@mdreizin I don't think that the npm version is synced with the current repo version. |
The merge isn't released into a release, would that be possible @mdreizin ? |
@mdreizin this fix not merged into the 1.6.8 version. 😿 |
Updated to most recent version of gatsby-plugin-robots-txt and our builds aren't running bc of the above. Any updates on when this will be fixed? |
🎉 This issue has been resolved in version 1.6.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi. After the plugin update, I'm getting an error when building my Gatsby page. In the configuration, I use
sitemap: null
Error:
The text was updated successfully, but these errors were encountered: