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
Create user notifications while seeding #12828
base: develop
Are you sure you want to change the base?
Conversation
@alecslupu I might be doing something wrong, but I can't see the seeded notifications as admin@example.org: |
03439e2
to
dc02bdb
Compare
@alecslupu can you check the failing spec? I can confirm that there's the same error by seeding manually ( |
It is a very peculiar situation, as the validation fails with no organization set. I have investigated, and seems there are is an issue that i do not understand yet, as we have the same class with 2 different object ids.
|
More insteresting is that if i run |
I could reproduce it in Gitpod, I don't know if that's relevant. I can try tomorrow with my desktop |
I could play a bit more with this PR today. The buggy line is the change in the ActiveJob queue:
By applying that change in develop and then running reseding:
I have the same exception.
On this case (i.e. having that line, and running)
Gives me another exception:
|
…otifications-to-seeds
@alecslupu I still have this error when running the seeds:
Can you check it out please? The command that I do is |
After seeing the changes in the code, I see that I need to do
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that it works as expected once I change the command for seeds. We need to add this change in the docs (see #12828 (comment)).
We should add it to the Releases Notes too to communicate to implementers/developers.
🎩 What? Why?
Currently, Decidim is not adding user notifications while seeding, making it hard for users to actually see the notication page functionality.
This PR adds the Comments, Proposals and Meetings created in the Participatory Processes to the notifications list.
Testing