Uncaught syntax error...
See original GitHub issueDescribe the bug
I am following a basic exercise to learn to use Composer. I have made no changes to the text. After I install the Help and Cancel Packages, and create a new trigger and try and change the ‘Allow Interruptions’ property for the Help trigger… i get an error… Uncaught SyntaxError: Failed to execute ‘querySelector’ on ‘Document’: ‘#root[4i5cOe].allowInterruptions-list2’ is not a valid selector.
I inspected the version of the package in the exercise, it is 1.0.0… I first tried the latest package 1.1.2 so I returned to 1.0.0… the error is still there.
Version
I am using Bot Framework Composer v2.1.0
Browser
- Electron distribution
- [X ] Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- [ X] Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Follow the exercise on…
https://docs.microsoft.com/en-us/composer/tutorial/tutorial-add-help?tabs=v2x
get to the part where you are building the dialogs for Help and Cancel… and have to introduce Allow Interruptions…
Expected behavior
Screenshots
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (3 by maintainers)
Top GitHub Comments
thank you.
i will repeat the weatherbot exercise, and see if i had made some error in copy-pasting any instructions.
m
From: Dana V @.> Sent: Tuesday, August 10, 2021 6:05 PM To: microsoft/BotFramework-Composer @.> Cc: Michael Vogt @.>; Mention @.> Subject: [External] Re: [microsoft/BotFramework-Composer] Uncaught syntax error… (#8515)
When you ran your test, did you also follow the ‘weatherbot’ exercise, or just try and test the help&cancel package some other way?
I just tried adding the package in an empty bot. But I just tried again within the weatherbot example and I get the same as I did before. Unable to reproduce.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FBotFramework-Composer%2Fissues%2F8515%23issuecomment-896368737&data=04|01|michael.vogt%40avanade.com|8a35dea52a974c1fc65508d95c5349a6|cf36141cddd745a7b073111f66d0b30c|0|0|637642335075979612|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=cNQhcWrewcKbXlZ5Yy7Vlm6DFoAPcYUnvudHePibFIs%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATCJBAO3AZAXGKRB6U4G223T4GWB5ANCNFSM5BPLWIGA&data=04|01|michael.vogt%40avanade.com|8a35dea52a974c1fc65508d95c5349a6|cf36141cddd745a7b073111f66d0b30c|0|0|637642335075979612|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=TFnOeAk9V4VaUnYWsPR9zlmqq0rtnh4kV%2BM55H6ZCLA%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|michael.vogt%40avanade.com|8a35dea52a974c1fc65508d95c5349a6|cf36141cddd745a7b073111f66d0b30c|0|0|637642335075989578|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wXfNin5K9YO%2FtUNCoRxBhZbyTMDpqTDnvurzezUS5u0%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04|01|michael.vogt%40avanade.com|8a35dea52a974c1fc65508d95c5349a6|cf36141cddd745a7b073111f66d0b30c|0|0|637642335075989578|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BI9FLuTE8FgROrN1UeKtfJOl08BRY%2BhNZHfXPHdAoqA%3D&reserved=0.
@michael-vogt-avanade https://github.com/microsoft/BotFramework-Composer/pull/8560 fixed this ticket. This fix would be available if you use our early adopters feed or in a patch release which we would make soon.