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

Can't use "duplicate" option with custom _id? #51

Closed
thearabbit opened this issue Mar 13, 2015 · 10 comments
Closed

Can't use "duplicate" option with custom _id? #51

thearabbit opened this issue Mar 13, 2015 · 10 comments

Comments

@thearabbit
Copy link

I insert doc with custom _id like this:

{
  "_id": "002",
  "name": "Tehara",
  "gender": "M",
  "address": "Banteay Meanchey",
  "telephone": "070"
}

and then i insert the new one by duplicate btn, but can't it show error duplicating.

@JackAdams
Copy link
Contributor

I'll look into this soon.

@JackAdams
Copy link
Contributor

Is this still happening? I was unable to replicate this issue.

@krawalli
Copy link

I think you need to add it at least two times

@msavin
Copy link
Owner

msavin commented Mar 27, 2015

and shake your computer left to right while you do it :P

@krawalli
Copy link

see issue #66 - almost the same cause i guess

@JackAdams
Copy link
Contributor

I'm not actually clear what the issue is here, because the duplicate button works perfectly well with any _id, custom or not. At least, when I've tested it, it does.

@msavin
Copy link
Owner

msavin commented Mar 29, 2015

@yuomtheara can you give some more details about this issue? Otherwise I'll have to close the issue as what you're describing doesn't seem to be a problem

@msavin msavin closed this as completed Mar 29, 2015
@msavin msavin reopened this Mar 29, 2015
@msavin msavin closed this as completed Apr 24, 2015
@rabbittc
Copy link

if my _id field is the custom value ("001"), don't auto value (object id).
So i can't use duplicate option.

@JackAdams
Copy link
Contributor

@rabbittc I just tried duplicating a document with an _id value of "001" and it worked fine. Any chance of putting a minimal repro of your issue on Meteorpad?

@rabbittc
Copy link

Ok I will try again.

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

5 participants