Problem/Motivation

See https://git.drupalcode.org/project/replicate/-/work_items/3441774

Maybe this should get implemented here, in addition to the Set the owner of the replicated entity to the current user functionality?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

anybody created an issue. See original summary.

ruslan piskarov’s picture

Hey, @anybody.

I just reviewed the replicate_actions module, and after cloning, I see that a new node has a current date and current author.
Could you add more info?

Reviewed with:
Drupal 11.4.5
Replicate 8.x-1.3
Replicate UI 8.x-1.3
Replicate Actions 2.0.0

Both look good:
web/modules/contrib/replicate_actions/src/EventSubscriber/ReplicateSetAuthor.php
web/modules/contrib/replicate_actions/src/EventSubscriber/ReplicateSetEntityEdit.php

ruslan piskarov’s picture

Status: Active » Postponed (maintainer needs more info)
anybody’s picture

Title: Reset entity creation / updated date to NOW » Reset entity creation / updated date to NOW in revision
Status: Postponed (maintainer needs more info) » Active

Hi @ruslan piskarov sorry. I mean the revisions, sorry for the unclarity.

Clone a node and afterwards look at the revisions tab, you see the creation date from the original node, not the date when the entity was cloned (as you'd expect). Maybe that only happens with revisions enabled?