-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
Pimcore version
v11 or any other
Steps to reproduce
Mostly the issue exist on importing an object with specified modification date + if object already exist with a newer date.
In other words, on creating a version under existing ones.
- Create an object: modification date
now()
, version1 created. - Re-import this object: modification date OLDER than actual one (specified from import src), version2 created.
Actual Behavior
On opening a tab in UI it shows data from vession1 - an OLD data.
Expected Behavior
Expected to show "last by id" version data from version2, not "last by date" version1.
Example
- Step 1. Save Product, modification date
now
, correct version on top & published, contains correct title.

- Step 2. Import Product with
older
modification date, imported version in a top of the list, contains correct imported data and Published!

Actual example behavior
Form (Edit tab) still contains data from a "latest by date" version (on a step 2 it's a second in a list with id 52923).
And a Draft created, even if it's disabled in a config.
Expected example behavior
Expected a published version data in a From.