8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edbe3b1 commit 988c52dCopy full SHA for 988c52d
libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py
@@ -290,7 +290,10 @@ def try_get_value(
290
# TODO: HACK to support .First() retrieval on turn.recognized.entities.foo, replace with Expressions once
291
# expressions ship
292
first = ".FIRST()"
293
- i_first = path.upper().rindex(first)
+ try:
294
+ i_first = path.upper().rindex(first)
295
+ except ValueError:
296
+ i_first = -1
297
if i_first >= 0:
298
remaining_path = path[i_first + len(first) :]
299
path = path[0:i_first]
0 commit comments