• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    User does not exist, but it shows up in the GUI

    User help
    2
    8
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mihairosu
      last edited by

      I have a user (sheridanpoint) that shows up in the GUI, but does not seem to exit in the back end.

      The user exists in the "Switch to user" dialog, though, it shows the error in the image below.

      The user also exists in the "Exit user" dialog, but nothing changes in the details below. It still shows the user information that was previously selected, and actually exists.

      How can I delete this user from showing up in the GUI?

      See image below.

      0_1485530625141_userDoesnotExist.png

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by phildunlap

        Hi Mihai,

        How interesting! I wonder how that happened. I suspect the issue surrounds the %09 addended in the URL in the error. That %09 is probably a tab (\t) and isn't getting handled properly.

        To delete, I would use the SQL console, and run

        SELECT * FROM users WHERE username LIKE '%sheridan%';
        

        then delete using the ID of that user,

        DELETE FROM users WHERE id=?;
        
        1 Reply Last reply Reply Quote 0
        • M
          mihairosu
          last edited by

          I get the following error when trying to delete:

          DELETE FROM users WHERE id=35;
          
          org.h2.jdbc.JdbcSQLException: Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery; SQL statement: DELETE FROM users WHERE id=35; [90002-181]
          Get table list  Submit query  Submit update
          
          
          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            There are three buttons on the SQL console page. One queries the set of tables, one runs queries, one runs updates (which includes deletes).

            1 Reply Last reply Reply Quote 0
            • M
              mihairosu
              last edited by

              My bad! It worked, thanks Phil.

              1 Reply Last reply Reply Quote 0
              • M
                mihairosu
                last edited by

                When you mention the tab, I think you're absolutely correct. I very often use tab to go between input boxes. That's probably what did it.

                1 Reply Last reply Reply Quote 0
                • phildunlapP
                  phildunlap
                  last edited by

                  Possible. Are you a Mac user? Seems like only Mac has a builtin ability to add tab characters to browser input fields (Ctrl + Option + Tab), from a brief google. Otherwise you would have to install a plugin to have Tab create tabs (or use the ALT code). I was thinking it happened from copy-paste or automatically generating users from a CSV or something. Certainly should be protected against at some point.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mihairosu
                    last edited by

                    Nope we're running all Windows 7 desktops. I guess it was something else I did.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post