Skip to content
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

Unable to add users to new groups on emoncms.org #37

Open
pb66 opened this issue Jun 6, 2018 · 6 comments
Open

Unable to add users to new groups on emoncms.org #37

pb66 opened this issue Jun 6, 2018 · 6 comments
Labels

Comments

@pb66
Copy link

pb66 commented Jun 6, 2018

On emoncms.org I am unable to add a user to a new group as reported on the OEM forum in the "One device - different users" thread. Just tried it again and it is still a current issue, although oddly, I have noticed that I can add the same user to a previously created test group that I created way back when the groups module first appeared on emoncms.org. So I am currently able to add a user to an old existing group, but not to a newly created group.

image

@pb66
Copy link
Author

pb66 commented Jun 6, 2018

Ok... Some more info for you, I tried creating a new group and added a user to it to test if it was possibly just 1 corrupt group that was the issue and it did allow me to add another user, BUT, what I noticed was that all the working groups have me as a default user and admin, and that there is no way to delete me. The faulty group has no members, not even me.

So I tried "create new user" on another new good group and that resulted in the following "undefined error"

image

and a second click of the button told me that the user already exists

image

but when I closed that modal box, I was no longer a member of that group, the group was now empty.

This is easy to reproduce by

  1. create new group (check you are admin) (ps I used a numeric first char, if that matters eg 10home)
  2. create new user
  3. after the errors and modal screen closed you will no longer be admin for that group, it will be empty.

I have not tested this on a self hosted, only on emoncms.org so I have no way of checking the tables or logs etc.

Plus I do not know who will get notifications so I will ping @cagabi and also @TrystanLea since it is the emoncms.org implementation.

@cagabi
Copy link
Collaborator

cagabi commented Jun 7, 2018

Hi Paul,
I am testing in my self hosted up to date installation and everything is working ok. I am waiting for my email verification in emoncms.org to try it there but I am afraid I cannot help on that one.

@cagabi
Copy link
Collaborator

cagabi commented Jun 7, 2018

Ah, I get all notifications for issues in this repository :)

@cagabi
Copy link
Collaborator

cagabi commented Jun 7, 2018

Hi again, tried in emoncms.org and you are right it's broken. I got the same pop ups, first saying "undefined" then saying "Name already exists" and now the page loads but the group seems to be empty

@pb66
Copy link
Author

pb66 commented Jun 7, 2018

So should this be moved to the emoncmsorg repo? or will @TrystanLea (or @emrysr) pick this up here ?

We don't even know if emoncmsorg is running the latest group module or if it's modded in anyway for emoncmsorg specifically.

@cagabi
Copy link
Collaborator

cagabi commented Jun 7, 2018

Good point. Let's wait and see if we hear from them soon and if not open an issue in emoncms.org

@TrystanLea TrystanLea added the bug label Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants