When syncing version 1 of content with an ezpage attribute, no valid nodes will be returned on the target server.
In the database, the following fields are incorrect:
- ezm_block.node_id is set to 0, while it should be set to the synced node id
- ezm_pool.ts_valid is set to 0 as well, while a ts_valid > 0 condition is used in the query that fetches valid nodes.
The node_id problem occurs because when processing the attributes in models/field.php, the object hasn't been published, and doesn't have a node id: https://github.com/ezsystems/ezcontentstaging/blob/custom-4.7.1/classes/models/field.php#L722.