Skip to content

_isCloning is not thread-safe in SetClonedProperties #422

Closed
@clongfei

Description

@clongfei

I encountered an issue when I executed the Clone() function to clone a ServiceClient object. The getting OrganizationDetail action, which is supposed to be triggered during this process, inconsistently sends a request to Dataverse. I suspect this may be due to the _isCloning variable not being thread-safe. Based on my understanding, it shouldn't be necessary to send a request to Dataverse during a cloning operation.

image

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