objectcloudboost

Cannot delete CloudObject in CloudBoost


I've got this object:

CB.CloudObject {document: Object, $$hashKey: "object:23"}
    document: Object
        ACL: CB.ACL
        _id: "tBaA9LXZ"
        _tableName: "Product"
        _type: "custom"
        _version: 2
        category: Object
        title: "Nombre"
        user: CB.CloudUser

When I try to delete it, it gives me this error:

TypeError: Converting circular structure to JSON

Is this due to user Relation?

Thanks!


Solution

  • Solved!

    A part from CloudUser relation (which is not the problem) I was setting a column named category that was a CloudObject, but I was not setting it as Relation, I was seeting it as object.

    Changing it by a Relation solve the problem.