Scada-LTS icon indicating copy to clipboard operation
Scada-LTS copied to clipboard

Fixed 'Go to my default page' after change 'Home page'

Open Limraj opened this issue 8 months ago • 0 comments

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:

  1. Login as admin;
  2. Go to 'Data sources';
  3. Click on 'Make this my default page': image and click 'OK': image
  4. Logout and login as admin;
  5. Go to 'Reports' and repeat step 3.
  6. Go to 'Users' and click on 'Go to my default page': image then open 'Data Sources': http://localhost:8080/Scada-LTS/data_sources.shtm -> error, it should open the Reports page, not the Data Source list
  7. 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

Limraj avatar May 31 '24 19:05 Limraj