- Issue created by @rkoller
- Status changed to Postponed: needs info
4 months ago 8:36pm 4 September 2024 - ๐บ๐ธUnited States smustgrave
So I
1. Added tour to social region
2. Gave anonymous permission to view tour
3. Incognito mode visited front page with no tour availableNot seeing the issue could it have been resolved already?
- ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
It is not resolved. i had to rebuild my setup today due to a problem in project browser that broke the entire instance. so i had to set up everything again. for anonymous users i am unable to reproduce right now but with my admin user instead. but there is a detail i havent mentioned in the issue summary (unsure if it was the case when i ran into the error the first time). anyway my setup on a fresh instance:
1) gave all available roles, anonymous included, the permission to view tours.
2) created a new tour with the routeentity.node.canonical - node:2
and added one tip
3) added the tour button block to the social bar in olivero
4) created two nodes
5) then accessed the frontpage with admin in one window and with anon in the other. with anon i am unable to run into the error but with the admin user on the page for node 1 when i click the take a tour of this page button the second time after nothing happens the first i run into the error. the front page shows correctly the no tour available button and node 2 shows the actual tour when i click the take a tour button.it feels like in combination with that route
entity.node.canonical - node:2
there is something off with showing the button in the correct state every time. and when the button is shown in the wrong state then clicking the button (which should be disabled and not enabled is causing the error? added a short recording of the output (with anon which i havent added to the video there are no errors right now anymore)
- Merge request !59Issue #3470606: TypeError: this.model.get('activeTour').cancel is not a function โ (Merged) created by smustgrave
- Status changed to Needs review
4 months ago 7:51pm 5 September 2024 - ๐บ๐ธUnited States smustgrave
But did notice the block query was a little off
- Status changed to RTBC
4 months ago 7:57pm 5 September 2024 - ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
yay! that fixed the problem. now i am getting the disabled button on nodes that dont match the route for the tour and the console error is gone, while for the node that is matching the route the tour button is still shown and the tour is starting properly. tested in safari and edge. thanks
-
smustgrave โ
committed d1e412c4 on 2.0.x
Issue #3470606: TypeError: this.model.get('activeTour').cancel is not a...
-
smustgrave โ
committed d1e412c4 on 2.0.x
- Status changed to Fixed
4 months ago 8:34pm 5 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.