cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

PatchInfo op returning blank name when subpatch present #866

Open TobyKLight opened 2 months ago

TobyKLight commented 2 months ago

Link to simple, reproducible example patch https://cables.gl/edit/fmTJ8p

Describe the bug The PatchInfo op will not return a name when a subpatch op is present? I could not reproduce this by starting from blank and creating a subpatch op. I could only take my complicated full app and delete things bit by bit until I found that one subpatch op would prevent this working.'

How To Reproduce

  1. Open https://cables.gl/edit/fmTJ8p
  2. Press reload a few times and note the PatchInfo op returns blank string for 'name' output
  3. Make a backup
  4. Delete the 'DOMOrganiser' subpatch (note no actual content in it anymore)
  5. Save
  6. Reload, and now the PatchInfo op will work.
  7. To go back to the condition where it's broken again reload from the backup you made

Platform

Dev Tools Nothing obvious in log