- πΊπΈUnited States smustgrave
If still a valid issue please reopen but it was moved to PNMI 3 years ago requesting more info, so closing for now.
In some cases there seems to be some inconsistency on the node_field_revision.revision_translation_affected
value, when a revision is created by the UI or by code.
The first case (UI) gives value 1
, while the second (code) gives NULL
.
As a result, when visiting the node/NID/revisions
page, on the first case (UI) one can see the new revision, while on the second case (code) the revision is missing.
node/NID-A/revisions
. $node = Node::create([
...
]);
$node->save(); // This will create the initial draft for the node B
$node->set('moderation_state', 'archived');
$node->save(); // This will create new revision with Archived state for node B
node/NID-B/revisions
.If you now take a look at your database's table node_field_revision
on the revision_translation_affected
column, you will see that the node-A's 2nd revision has value 1, but the node-B's 2nd revision has value NULL.
The 2 ways of creating the new revision should be consistent. More debugging needed to find out the cause.
Closed: outdated
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
If still a valid issue please reopen but it was moved to PNMI 3 years ago requesting more info, so closing for now.