Error: Invalid uid on user administration (web)

Issue #51 resolved
Peter Molnar created an issue

I found very annoying, when I creating new users I have the error above. As I can see when I create a user the php set the form empty, but I guess there is some data that causing the problem. Usually I have to confirm every user twice.

Comments (7)

  1. Janos SUTO repo owner

    What version are you using? Please visit http://www.mailpiler.org/en/demo.html and check whether you can reproduce this error on the demo site.

    And please describe a bit in greater details your environment to give some insights to me to understand your situation better. If it's sensitive, then please write to my email address (see piler -V).

  2. Peter Molnar reporter

    I cloned from bitbucket on last week, and I think it is not related to the environment, just a small bug in php.

    Yes, I can reproduce the error. Just do a "bulk" user adding procedure, I mean adding more than one user. When you press the Add button with the first user, everything is fine, the form is cleared and waiting for a new user's details (I assume). If you are filling all the information with another user, it will cause the error that I described before. If you go back to the user's list after the first user added, it works fine.

  3. Janos SUTO repo owner

    OK, thanks for the explanation. The attached diff fixes this bug. I also committed it to the master branch.

    Btw. doesn't your environment support any admin friendlier user import features, eg. ldap/AD synchronization or single sign-on? Just asking..

  4. Peter Molnar reporter

    Thank you.

    Unfortunately there is no such centralized user administration at this particular company... :(.

  5. Log in to comment