Can't invite people to group from a re-created main profile
Description
I created an admin account from console. I logged in and created a first profile, profile_a
. Then I realized I wanted a different profile, so I created a second one, profile_b
and deleted profile_a
.
I created a group, group
, it worked and in the administration page profile_b
appears as administrator. However, if I try to invite other profiles to this group, I get the error
You are not member of this group (in french in the context)
under the add member input field.
They are no errors in the app logs.
I can also partialy reproduce the problem on demo.mobilizon.org. This time the group member list is empty, but I'm able to see the group in the My groups
page, and administrate the group.
Steps to Reproduce
- Create a new user
- Create the first profile
- Create the second profile
- Delete the first profile
- Create a group
- Try to invite a new member to the group
Expected behaviour:
Invite a user to join the group.
Actual behaviour:
Error message "You are not member of this group"
Reproduces how often:
100%
Versions
- Mobilizon: git tag 1.0.0
- Elixir: 1.10.4
- Postgres: 12
- Host: Debian 10.6 (docker container)
- Browser: Firefox 82.0 (linux)
Additional Information
Docker configuration files can be found there.