Error creating a new post in the General group
If I try to add a reply to a post on the General group this error is shown:
Something went wrong: [DwE500REX]
java.lang.UnsupportedOperationException: Not implemented: Loading Everyone group members [TyE2ABKR05]
at com.debiki.core.Prelude$.unimplemented(Prelude.scala:114)
at com.debiki.core.Prelude$.unimplementedIf(Prelude.scala:118)
at com.debiki.dao.rdb.UserSiteDaoMixin.loadMembersOfBuiltInGroup(UserSiteDaoMixin.scala:186)
at com.debiki.dao.rdb.UserSiteDaoMixin.loadGroupMembers(UserSiteDaoMixin.scala:167)
at com.debiki.dao.rdb.UserSiteDaoMixin.loadGroupMembers$(UserSiteDaoMixin.scala:157)
...
Same error happens if i try to create a new post. But I can create the post in another group and then move it to the General group.
Some days ago I was modifying the groups and notifications, but I don't remember exactly what.
Looks like, the post trying to generate a notification to "Everyone" but not being able to get the users of that group.
I have tried to disable notification for everyone
group, but still the same error.
- AAdrián López @adrianlzt
Oh, just found how to fix it.
I had the second
These people
set toEveryone
.
That was the problematic setting. - Progresswith handling this problem
- KajMagnus @KajMagnus2019-11-14 23:00:20.836Z
Thanks for reporting, and for the stack trace — it was helpful to see where, higher up in the stack, this starts happening.
Ok so this is a bug — it shouldn't be possible to configure notifications for the Everyone group, ... because the Everyone group includes also people who might not be members (and they shouldn't get notifications).
Good that you found a work-around for now.
I'm wondering what kind of notifications were enabled for the Everyone group?
Was it maybe for new topics across the whole site?
Or maybe new topics in the General category?
(Maybe e.g. site wide notifications are still enabled, for the Everyone group? hmm) - KajMagnus @KajMagnus2019-11-16 04:12:20.107Z
Now, on the Everyone notifications configuration page, I'm instead showing this text + a link:
Go here (link) instead, and configure notifications for the All Members group
... in the next version, some time next week hopefully.
And, if you've already configured notifications for Everyone, and want to undo that, you can add this to the URL:
#configEveryone=true
, then, you'll be able to configure the Everyone group (instead of seeing the "Go here ..." text).So, the full URL would then be:
http://your-server-addr/-/groups/everyone/preferences/notifications#configEveryone=true
, to configure Everyone's notifications. - AAdrián López @adrianlzt
I had notifications for new topics on the general category.
Thanks for the fix! - KajMagnus @KajMagnus2019-11-23 12:07:08.030Z
Now I've deployed a new version with this bug fixed to Talkyard .net — I don't remember if you're hosted by me or if you're self-hosted? In the latter case, it'll take some more days or a week before the fix will appear.
I'll close this issue in a while then (ok?).
- KajMagnus @KajMagnus2019-12-04 08:47:31.677Zreplies toadrianlzt⬆:
@adrianlzt — do you use Gmail OpenAuth login? If so, then, before upgrading to the next version, you need to enable Google's People API, in Google's developer console. Let me know if you need help / info about how to do that?
(Background: Google has deprecated their old G+ API, and instead, there's a new API, "People API".)
- AAdrián López @adrianlzt
I was using the third option described here, the one without static IP neither auth.
The problem is those emails are sent directly to spam (even I'm sending only to own gapps domain).
We don't use an account solely for talkyard, to avoid paying one.
- AAdrián López @adrianlzt
Finally I have configured using the auth. I leave here the email config if anyone is interested:
talkyard.smtp.host="smtp.gmail.com" talkyard.smtp.enableStartTls=false talkyard.smtp.tlsPort="465" talkyard.smtp.checkServerIdentity=true talkyard.smtp.user="some@domain.com" talkyard.smtp.password="PASSWORD" talkyard.smtp.fromAddress="some@domain.com"
- KajMagnus @KajMagnus2019-12-05 12:23:57.564Zreplies toadrianlzt⬆:
Oh I didn't mean the SMTP config and Gmail for sending emails — instead, I meant when people login to your forum, to post comments — then, maybe they can login via email + password, or Facebook, or Gmail, ...
... And in case you've enabled Gmail login — then you need to go to Google's Developer Console, login, and toggle the People API enabled:
https://console.developers.google.com/apis/api/people.googleapis.com
Some docs by Google: https://support.google.com/googleapi/answer/6158841?hl=en
- AAdrián López @adrianlzt
Ahmm, thanks!
We use local users only.But finally get the mail config right, so thanks anyway!