UniversalDataTool / universal-data-tool

Collaborate & label any type of data, images, text, or documents, in an easy web interface or desktop app.
https://universaldatatool.com
MIT License
1.92k stars 187 forks source link

Invalid Collaborative URL #541

Open Qinxuliang1997 opened 1 year ago

Qinxuliang1997 commented 1 year ago

The bug: I got this invalid URL : https://udt.dev?s=null when I try to use Collaborative Session on Web. I am following this introduction: https://docs.universaldatatool.com/collaborative-labeling

Steps to Reproduce?

  1. start from this pages https://udt.dev/? and choose Start from Template
  2. choose Data Entry as Data Type
  3. click Collaborate at the left of the screen
  4. click create new sessions
  5. get this invalid URL https://udt.dev?s=null

Looking forward for your reply. Thanks!

ugm2 commented 1 year ago

The same is happening to me. I think this is an important feature.

The error might be in this line:

https://github.com/UniversalDataTool/universal-data-tool/blob/5505796fae2d44c2b0d099e8371b09339ad2b1dc/src/components/CollaborateButton/index.js#LL69C8-L69C8

Where dm.sessionId is null for some reason