Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when defining the collection #1

Open
PolGuixe opened this issue Jun 3, 2016 · 0 comments
Open

Error when defining the collection #1

PolGuixe opened this issue Jun 3, 2016 · 0 comments

Comments

@PolGuixe
Copy link
Contributor

PolGuixe commented Jun 3, 2016

I am getting this server error:

 RangeError: Maximum call stack size exceeded

When:

  userstamp: {
      hasCreatedField: true,
      createdFieldName: 'createdBy',
      createdFieldOptional: false, // must be true to allow inserts by anonymous users
      hasUpdatedField: true,
      updatedFieldName: 'updatedBy',
      updatedFieldOptional: false, // must be true to allow updates by anonymous users
      usersCollection: Meteor.users
    }

But with:

  userstamp: {
      hasCreatedField: true,
      createdFieldName: 'createdBy',
      createdFieldOptional: false, // must be true to allow inserts by anonymous users
      hasUpdatedField: true,
      updatedFieldName: 'updatedBy',
      updatedFieldOptional: false, // must be true to allow updates by anonymous users
      //usersCollection: Meteor.users
    }

So I guess that it is related with the collection definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant