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

Duplicating a path bug #44

Closed
mniinio opened this issue Feb 19, 2019 · 2 comments
Closed

Duplicating a path bug #44

mniinio opened this issue Feb 19, 2019 · 2 comments

Comments

@mniinio
Copy link

mniinio commented Feb 19, 2019

Duplicating paths results into duplicating operation urls when editing (same id's with duplicated operations or something?). Steps to produce:

  1. I created a path and 1 operation under it and gave both a URL, for example /docs
  2. I clicked the duplicate -icon on the path level and it created a /newPath.
  3. I changed the /newPath to /emails
  4. I then edited the operation to /emails and that changed the original paths operation to emails, too while I edited
@MikeRalphson
Copy link
Contributor

Thanks for reporting this. Probable missing call to clone().

MikeRalphson added a commit that referenced this issue Feb 26, 2019
@MikeRalphson
Copy link
Contributor

Reproduced. As I thought, it was a missing clone() call. Should be fixed now, many thanks for reporting.

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

2 participants