Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aaronjudd
Copy link
Contributor

Resolves #932 with a new server method "products/removeMetaFields". Delete is moved to the server.

Resolves #865 resolve mongo unique index error for versions of MongoDB > 2.6 and < 3.2 by removing optional: true from _id fields of product/productVariant schema.

Test mongo resolution by running through all versions of mongo available in brew switch mongodb 3.0.6, using MONGO_URL="mongodb://127.0.0.1:27017/meteor" meteor, resetting between each test.

aaronjudd and others added 6 commits March 18, 2016 17:31
Resolves #865

Formerly variants where children of products, and the id was manually
inserted. Now, ProductVariants is a top level schema, and is indexing
the automatically inserted id, so _id is not optional.
Add new method "products/removeMetaFields" and moves deleting from
client to server method. Add permissions check, and product schema
“type= simple” selector.

Resolves #932
- reaction-schemas @ 2.0.4
- reaction-catalog @ 0.2.2
-  release v.0.12.1
@brent-hoover
Copy link
Collaborator

Approved

Approved with PullApprove

aaronjudd pushed a commit that referenced this pull request Mar 20, 2016
@aaronjudd aaronjudd merged commit 5b23c1d into master Mar 20, 2016
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

Successfully merging this pull request may close these issues.

Unable to remove metafield from Product via PDP MongoError: exception: _id index cannot be non-unique

3 participants