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

Trying to add new tool to an anchor object immediately after its creation -> fails (using web interface) #218

Open
benptc opened this issue Aug 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@benptc
Copy link
Member

benptc commented Aug 3, 2020

I looked into why:

We need to call utilities.writeObject(objectLookup, objectName, objectID) to store the mapping of objectName->ID immediately when the object gets created. Currently it waits for you to add a target image or restart the server. Otherwise, utilities.readObject(objectName) returns null so the tool doesn't know which object to attach to (in if (req.body.action === 'new') of webServer.post(objectInterfaceFolder, ...)

@benptc benptc added the bug Something isn't working label Aug 3, 2020
@benptc benptc changed the title Trying to add new tool to an anchor object immediately after its creation -> fails Trying to add new tool to an anchor object immediately after its creation -> fails (using web interface) Aug 3, 2020
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

1 participant