• 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

    Bug? - Changing user home url through import/export

    Mango feedback
    2
    6
    4.7k
    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.
    • S
      Sergii
      last edited by

      I try to export user, change homeUrl in JSON and import it back. But the value of homeUrl remains the same.
      I did that because I need to redirect user to a custom JSP page after login.

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

        Yeah, i guess this is a bug of sorts. The DAO was not saving the home url, but that is what is used by the import code. A fix for this will be included in the next release. Until then you can always use the SQL console to set values directly in the database.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • S
          Sergii
          last edited by

          Thanks Matthew.
          Sorry for my next stupid question, but how can I change homeUrl for user?
          I tried a SQL request

          update users set homeurl='test.jsp' where id=2
          

          but no success.
          Error message is "Statement.executeQuery() cannot be called with a statement that returns a row count"

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

            Click the update button instead of the query button. Also, you might need to say "homeUrl" (capital U).

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • S
              Sergii
              last edited by

              Oops... I've missed that button :oops:
              Thanks a lot!

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