Dashboard Problem after updating to 3.0.2

Profile picture for user ht1ppens
ht1ppens
Forums
After updating to Opigno 3.0.2 from 3.0 the dashboard will no longer load. On further inspection I'm finding page not found errors in the drupal log messages. the error says that it can't find https://my.domain.con/path/path/opigno_dashboard/get-positioning It's adding the path twice. Is this a configuration issue or is it a bug?
Profile picture for user ht1ppens
ht1ppens

Upon Further Inspection ...

The output for the dashboard page comes from opigno-dashboard.html.twig. On line 7 the apiBaseUrl variable is set to the Path part of the Base URL. (i.e. if my front page is https://my.domain.com/Path - the apiBaseUrl is set to '/Path') On the following lines 9 through 12 the URLs for a number of services are set ( getPositioning. getDefaultPositioning, setPositioning, and getBlocksContentUrl). I can see in the page source that the apiBaseUrl is already prepended to the URI's for these services. ( i.e. {{ get_positioning_url }} is set to /Path/opigno_dashboard/get-positioning ) if I set the apiBaseUrl to '' in line 7 the problem I was having clears up. I suspect you either didn't want the path prepended to the service URI's or you didn't mean to prepend the apiBaseUrl a second time.