Bug? - Changing user home url through import/export
-
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. -
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.
-
Thanks Matthew.
Sorry for my next stupid question, but how can I change homeUrl for user?
I tried a SQL requestupdate 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" -
Click the update button instead of the query button. Also, you might need to say "homeUrl" (capital U).
-
Oops... I've missed that button :oops:
Thanks a lot!