-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Scheduled Post Permalink Leads to error #6515
Comments
Seems to also throw this error for notifications if you're following someone that schedules a post, this affects all versions of |
@ArchBlood Do you mean user recieves a notification about scheduled post? If yes, I am not sure it is possible because here https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/models/Content.php#L277-L280 we restrict this: if (!$this->getStateService()->isPublished()) {
// Don't notify about not published Content
return;
} Could you show what error you have and how to reproduce this if you know? Thanks. |
I'd have to ask my client about this, as I can confirm in their instance that a notification was sent to followers of the user about the scheduled post then the error popped up, I'll try getting a test instance up and try recreating this for the error logs. 🤔 |
Okay, I'm not able to recreate the issue for the notifications, but the viewing the scheduled post as myself or another user through the permalink does as this issue was meant for, I've also confirmed that viewing a draft through permalink also causes the same issue as this one, no error logs happen for either of these issues. |
As I undestand you mean the "Permalink" is visible for Scheduled and Draft posts but when we click then we see only "Oooops... It looks like you may have taken the wrong turn." instead of expected post content. @luke- I see the bug was fixed in the PR #6005 as I wrote here #6515 (comment) but the PR is not merged yet and I think it would be good to merge it into |
@yurabakhtin Thanks for the info. It's not that critical, I think v1.16 is ok. |
What steps will reproduce the problem?
What is the expected result?
Should show the scheduled Post or a mention of the post not being available till a scheduled date.
What do you get instead?
Oops something went wrong
Additional info
The text was updated successfully, but these errors were encountered: