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

Drafts in structure don't show up and can't be openend #9868

Closed
boboldehampsink opened this issue Sep 23, 2021 · 5 comments
Closed

Drafts in structure don't show up and can't be openend #9868

boboldehampsink opened this issue Sep 23, 2021 · 5 comments
Labels

Comments

@boboldehampsink
Copy link
Contributor

Description

A client has created multiple drafts in a structure section, but they don't show up in the structure. They do show up in "All entries" tho. But when I click such a draft in All entries, it says 404 not found. I have seen this before and use the repair structure sections util which fixed it (for non-drafts). But in this case, it doesn't fix it.

Steps to reproduce

Not sure if this is the way to reproduce it, as it happened to a client and not to me directly, but the above info should be clear enough.

Additional info

  • Craft version: Craft Pro 3.7.13
  • PHP version: 8.0.10
  • Database driver & version: PostgreSQL 10.17
  • Plugins & versions:

Screen Shot 2021-09-23 at 08 58 50

@brandonkelly
Copy link
Member

I’m not able to reproduce on my end. Is it reliably reproducible by your client?

If so, or if there is an existing draft in the system that is inaccessible, please send in a database backup plus your Composer files to support@craftcms.com, and we can look into it from there.

@boboldehampsink
Copy link
Contributor Author

Sent you an email.

@brandonkelly
Copy link
Member

For posterity, thus turned out to be a bug with the utils/repair/section-structure command, which was removing provisional drafts from the structure, causing this 404 issue.

Fixed now for the next release.

To get the fix early, change your craftcms/cms requirement in composer.json to "dev-develop as 3.7.14" and run composer update.

@boboldehampsink
Copy link
Contributor Author

@brandonkelly thanks Brandon, good find once again.

@brandonkelly
Copy link
Member

Craft 3.7.15 is out now with the utils/repair/section-structure fix.

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

No branches or pull requests

2 participants