- Issue created by @manojkumar_g
I have used the same DB and configurations in the current environment and target environment. However, the node ID and paragraph ID are different in both environments. So the content imports are referring the uuid value to map the content in the target environment during the import.
If I import the node json file a second time with no changes, it was skipped. That is correct behavior.
If I import the paragraph json file a second time without any changes, it is updated. This is not the expected result. The paragraph import should skip when we import the same json file multiple times.
The paragraph json file data array and the same paragraph entity array in DB are compared and processed for the content import in the target environment. In my case, the current environment paragraph and paragraph target revision ID are different compared to the target environment paragraph ID and target revision ID in the target environment DB.
The import function refers to the 'Changed' attribute value of the exported json file. Then compared the exported 'Changed' attribute time with the target environment node's updated timestamp value in DB.
Active
2.1
Code