Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The getContent method references the method getXmlElement which does not appear to exist. #86

Open
1 task done
chanced opened this issue Oct 23, 2021 — with Huly for GitHub · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

Copy link

chanced commented Oct 23, 2021

Checklist

  • Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/

Describe the bug

the function getContent references getXmlElement on a Y.Doc which does not appear to exist.

case 'XmlElement': return doc.getXmlElement(objName)

https://github.com/yjs/yjs/blob/dc9717ecd0650315d87129cff795dc5116f8bcf2/src/utils/Doc.js

To Reproduce I'm not sure that code branch can ever be reached but I wanted to let you know regardless.

Environment Information

  • y.js 13.5.6 per y-websocket's dependency
  • y-websocket - latest

Huly®: YJS-512

@chanced chanced added the bug Something isn't working label Oct 23, 2021
@dmonad
Copy link
Member

dmonad commented Nov 22, 2021

Right, thanks! We should adopt this to ydoc.get(objName, Y.XmlElement).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants