next/prev post display missing when post slug contains `null` first
See original GitHub issueIssue Summary
Next/prev posts fail to render when the post slug’s first word is null
. For example, yourdomain.com/null-island
. There were no console errors to report with this. It looks as though everything except the next/prev post is functioning as expected.
Steps to Reproduce
- Create a new post
- Set post slug to include the first word as
null
, e.g.null-island
. - Publish the post
- View the post; next/prev posts are missing
What one might expect to see is a preview of the next and previous post, e.g.
The next/prev posts display if the post slug is changed so that null
is not the first word used.
Technical details:
- Ghost Version: 1.17.2 / 1.17.3
- Browser/OS: Tested in Chrome, Safari / MacOS El Capitan
- Database: mysql
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
get_next_post options - page 2 - WordPress.org
if the post has several categories, let's say: first, second and third category ... Check if post has terms if so then show...
Read more >How do I retrieve the slug of the current page?
Display the page or post slug * * Uses get_the_slug() and applies 'the_slug' filter. * * @param int|WP_Post|null $id (Optional) Post ID or...
Read more >Django: You are trying to add a non-nullable field 'slug' to post ...
Django can't add a new field by itself without null values being allowed here, especially when you have unique=True set on this field....
Read more >How to Identify and Drop Null Values for Handling Missing ...
Python pandas tutorial for finding missing values in python pandas ... After that I have shown you how you can view the missing...
Read more >Problems with adding NOT NULL columns or making nullable ...
This is a guest post from Phil Factor. Phil Factor (real name withheld to protect the guilty), aka Database Mole, has 30 years...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will take a look at this as part of the GQL re-work.
Closing as it is tracked here: https://github.com/NexesJS/NQL-Lang/issues/1