Skip to content
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

When publishing a post, field guid in DB-table wp_post is corrupt #46

Open
V-H opened this issue Jul 5, 2020 · 4 comments
Open

When publishing a post, field guid in DB-table wp_post is corrupt #46

V-H opened this issue Jul 5, 2020 · 4 comments

Comments

@V-H
Copy link

V-H commented Jul 5, 2020

I posted this also in WP-Forum:

URGENT!!! URGENT!!! URGENT!!!, @archetyped

I found out that the content https://mydomain.tld/automatisch-gespeicherter-entwurf/ is written in the guid field of the wp_post table to all posts when published. ‘automatisch-gespeicherter-entwurf’ means ‘automatically-saved-draft’.

If I deactivate Cornerstone, it works. (wp_post->guid: https://mydomain.tld/?p=1234)
The problem is that feeds are recognized as invalid because the same guid appears in all posts of the feed.

PLEASE REMOVE ASAP or announce a workaround promptly. Thank you very much!

EDIT: Just only saving a post without publishing forces this issue...

@archetyped
Copy link
Owner

Thanks for the report, this is being evaluated.

Friendly reminder: heavy use of all caps and exclamation points won't make development happen faster, but actually inversely affects evaluation of an issue due to the noise it adds.

@V-H
Copy link
Author

V-H commented Jul 8, 2020

Ok, I understand; hope you can excuse the caps, but I was going a bit panic, cause I couldn’t find a way around it. So, please don't mind... und thank you for solving this problem!

@V-H
Copy link
Author

V-H commented Jul 24, 2020

Ok, I did further testing, may be it helps to find the bug:

The 'automatic saved draft'-text in the guid pops up, when I set the permalink-structure to 'Structured' or to the custom value '/%postpath%/%postname%/'.

When the custom value is set to '/%category%/%postname%/' and is selected, the guid-field has '.../?p=1234' - as it should, I think.

I've suspended autosaving to have a workaround – but when I save my post, the 'automatic saved draft'-text still remains in the guid.

I have tried to use other plugins to rebuild the functionality of your plugin – but I can’t get the things done as I want to. So, please, look ahead to solve this bug – it's hard for me to update every post by hand with phpmyadmin to get a correct guid, so that my feed-clients can get the posts on their channels... this hand-correction is the only thing I can do, because every try to hook in 'save_post' to correct the guid fails...

Thank you!

@V-H
Copy link
Author

V-H commented Jul 27, 2020

Workaround: Using „Permalink Manager Lite“-Plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants