Scada-LTS
Scada-LTS copied to clipboard
Fixed 'Go to my default page' after change 'Home page'
Description After going to the selected page and using the 'Make this my default page' function, which should set the currently open page in the 'Home page', i.e. overwrite the previously set one, then we use the 'Go to my default page' function, which redirects us to the old page home page instead of the current one. Only when the user logs in does the Home page update and the 'Go to my default page' function redirects to the correct page.
To Reproduce Steps to reproduce the behavior:
- Login as admin;
- Go to 'Data sources';
- Click on 'Make this my default page':
and click 'OK':
- Logout and login as admin;
- Go to 'Reports' and repeat step 3.
- Go to 'Users' and click on 'Go to my default page':
then open 'Data Sources': http://localhost:8080/Scada-LTS/data_sources.shtm -> error, it should open the Reports page, not the Data Source list
- Repeat step 4 and step 6, then 'Go to my default page' is correct work, open Reports;
Spec:
- Scada-LTS version: <=2.7.7.3