Skip to content

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

@benptc

Description

@benptc

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, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions