Skip to content

Long Problem in pullAttributeFilters #83

@erickdsama

Description

@erickdsama

If you use

  config.pullAttributeFilters = {
      "sender": [1]
    };

in replication config you got a empty response, that is because the value of Dart send is of int but the response JSON in Java is of Lang.Long

i solved the problem with a simple if. but it's only a quick fix

Replicatorjson.java line 150

    if (value instanceof Long) {
        try {
            value = ((Long) value).intValue();
        }catch (Exception e) {
            System.out.println("Error"+e.toString());
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions