HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.43k stars 2.32k forks source link

Linking From External Site Does Not Load #5805

Open dennism0027 opened 5 months ago

dennism0027 commented 5 months ago

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):

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)
sajarin commented 5 months ago

/jira create

Workflow run Jira issue TRIAG-525 is created

dennism0027 commented 4 months ago

Any updates on this?