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

Remove hardcoded NIDs from IntegrationDocuments #32

Open
1 task
ademarco opened this issue Feb 13, 2017 · 0 comments
Open
1 task

Remove hardcoded NIDs from IntegrationDocuments #32

ademarco opened this issue Feb 13, 2017 · 0 comments

Comments

@ademarco
Copy link
Member

Scope

NIDs should not be hardcoded, otherwise we will run into this problem:

  • We ran operation import on dev
  • Content of different type (page) was added to dev
  • Migration was rolled back and re-ran with new source content
  • Titles of newly imported operations replaced only the title of pages created by the editor

This seems to happen because Operations are imported using their source nid and, when rolling back and importing new operations that have same nid of already existing content, existing content gets overridded, regardless of its type.

Tasks

  • Fix this.
ademarco added a commit that referenced this issue Feb 13, 2017
haringsrob added a commit that referenced this issue Feb 13, 2017
Remove hardcoded NIDs from IntegrationDocuments #32
@haringsrob haringsrob removed their assignment Mar 14, 2018
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