-
Notifications
You must be signed in to change notification settings - Fork 35
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
Incorrect "Published" status in GridField when using Fluent #75
Comments
Now that I think about it, this might be a Blog-specific thing after all, since it also has "Scheduled to publish" content in there. So perhaps the issue should be created over there instead? (I actually already did, but then saw you already reacted here) |
Hrmmm. Can you maybe provide some more specific steps to reproduce this? I've done this:
For me the states in the lumberjack GridField are the same in both locales. Per your bug report I'd expect them all to be reported as "Published", but I'm not seeing that. Side note: there are a couple of instances of incorrect Versioned API usage in blog and lumberjack that are preventing the MODIFIED badge from being displayed. PRs to fix at #80 |
Hi @JorisDebonnet that's helpful, thanks. Another thing to check is that the EN Localse doesn't have a fallback to NL? |
Ah yes, ok - I see the issue now. Thanks for the follow up information! |
LumberJack's The ideal in this case would be to have some kind of extension point in the Versioned... extension 🙄 |
Maybe |
One can beat The trick comes in attempting to think about what other checks (e.g. All of this doesn't stop e.g. LumberJack simply checking and returning a binary state of So this is quickly exploding and is worthy of more thought. I'm curious to get your thoughts on this too @tractorcow |
Was just doing some testing on how Fluent modifies the page tree and noticed that it's not completely accurate either at the moment: https://github.com/tractorcow/silverstripe-fluent/issues/434 |
When using the Blog module together with Fluent, any BlogPosts created in one locale will show up in the GridField as "Published" in any other locale, too. That status is not correct though, as is confirmed by going to the BlogPost's details (where everything works fine).
I'm not entirely sure whether this is something that should be fixed in Fluent or in Lumberjack. I guess it may need a 'speciale case' code block in one of both. In any case, those posts are not considered "Published" in other locales (..until they are), so I believe they should show up in the GridField as "Draft".
(I have 2.0.0-alpha1 installed of this module, and fluent 4.0.0)
The text was updated successfully, but these errors were encountered: