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
Publishing a content changes value in modifiedTime #6200
Comments
We are modifying the content, so the modifiedTime should be updated. |
I will close this issue. IMHO, we should fix the way we do the publish and scheduled publish in 7.0. |
One second.. Yes, we are modifying the node - but we are not modifying the "content/data" which is what this attribute is about. The timestamp value for nodes will change, that is fine - but we definetly do not want to register this as a modification of the content. I guess we should simply not use the content API to add the publish.first value. NB! publish.first is a completely different value from created. You can create an item today, and then publish it tomorrow. |
So, logically the modifiedTime value is wrong, and must not be set as part of the publish process. |
It actually breaks a lot of things when this value is changed as part of the publishing process. |
Yes. I thought about it after and I definitely talked too fast here. modifiedTime is not only about the content/data though. It is also modified on modifications on all the other properties: language, owner,… (which makes sense). |
Publishing a content changes value in modifiedTime (#6200)
When a content item is published we create a new version and set
publish.first
. This also causes modifiedTime to be updated with current date/time. We need to avoid modifiedTime being updated. It's common to have content sorted by modifiedTime and publishing should not affect this order.The text was updated successfully, but these errors were encountered: