Skip to content

SynchronizedEntityWrapper.updateEntity mutates entity to invalid state #13

@Jet132

Description

@Jet132

Problem

When inputting an object with a property of value undefined to SynchronizedEntityWrapper.updateEntity it sets that property to actually undefined even though it isn't allowed in most cases.

Solution

Filtering all undefined fields first might be a viable solution, though this might not work for nested properties.

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