question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Orphaned Language Generation Code

See original GitHub issue

Describe the bug

LG code is orphaned when a “send response” widget is deleted. That process may result in having (for example) errors such as unbalanced multi-line quotations.

Version

Version 1.1.1

Browser

Chrome 80.0.3987.165

OS

Windows

To Reproduce

Steps to reproduce the behavior:

  1. create an empty bot
  2. create a “send response” with something like - ``` (don’t close the multi-line quote)
  3. delete the widget
  4. note that the lg code persists, even though an uncompleted multi-line should throw an error

Expected behavior

Deleting the “send response” widget should delete the code

Workaround

Use edit mode in the LG script to remove orphaned code

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Danieladucommented, Jan 18, 2021

Close it for it has been fixed in the latest sdk

1reaction
Danieladucommented, Nov 5, 2020

Hi @marktab. Sorry for the blocking. This is indeed a LG bug. I have a PR to fix it in dotnet library and would have a fix in js library soon. Before the update is merged into main and Composer, I suggest that you can add a newline after “```” to skip this issue as the workaround. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Orphaned LP existence for Inventor | Inventor 2022
Identify the corresponding 3-digit language product code for the orphaned language pack from the below product code table.
Read more >
Resolving “orphaned” non-specific structures using machine ...
Morphological descriptions of the biodiversity domain pose a number of challenges to existing natural language processing (NLP) algorithms.
Read more >
The Cryptography of Orphan Annie and Captain Midnight
From 1941 through 1949, the decoders were rebranded as "Code-O-Graphs" and distributed by Captain Midnight's Secret Squadron.
Read more >
Virtual machines appear as invalid or orphaned in vCenter ...
An "invalid" virtual machine is a VM that is inaccessible because the ESXi host is offline or inaccessible, the VM configuration file is...
Read more >
The Extent of Orphan Vulnerabilities from Code Reuse in ...
We provide a working approach to find file-level exact code reuse in any language across all open source repositories. • We provide a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found