label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Linking From External Site Does Not Load

Open dennism0027 opened this issue 1 year ago • 1 comments

Describe the bug

We are linking to a task from an external application to allow alternative ways of selecting tasks. This does seem to cause some issue in Label Studio where the task just hangs on loading. One workaround found was selecting a different task and then going back to the task on the previous page.

To Reproduce Steps to reproduce the behavior:

  1. Create link in external site
  2. Click the link to Label Studio
  3. Wait for task to load

Expected behavior

Expected behavior would be for the task to load

Screenshots If applicable, add screenshots to help explain your problem.

https://github.com/HumanSignal/label-studio/assets/33007602/13e9e198-10a3-4a34-b9e0-bdd95f8e81ab

Environment (please complete the following information):

  • OS: ubuntu-focal-20.04-amd64-server-20240321
  • Label Studio Version - "release": "1.5.0"

Additional context Add any other context about the problem here.

Here is the the error from console that may be the source of the bug

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'currentAnnotation')
    at AppStore.js:210:37
    at Generator.next (<anonymous>)
    at mobx-state-tree.module.js:3631:51
    at Qe (mobx.module.js:928:19)
    at r (mobx.module.js:915:16)
    at mobx-state-tree.module.js:2593:35
    at to (mobx-state-tree.module.js:2456:16)
    at l (mobx-state-tree.module.js:3617:13)
    at u (mobx-state-tree.module.js:3631:21)

dennism0027 avatar Apr 30 '24 17:04 dennism0027

/jira create

Workflow run Jira issue TRIAG-525 is created

sajarin avatar May 01 '24 19:05 sajarin

Any updates on this?

dennism0027 avatar Jun 03 '24 16:06 dennism0027