When you’re on an item edition and click on the “Create version of this item” on the sidebar menu, you sometimes link to the creation of a version for another item.
How to reproduce
Go to edit item of an item & verify that the create version link is correct, next edit another item, the link in the sidebar here will be the same as in the other item.
This is because the item is not always properly retrieved in the validity. The basic retrieval only uses the handle, while the edit item page overview has the uuid in the url.
Additionally, when clicking one of the tabs in the edit item page
(Item Status, Item Bitstreams, Item Metadata, View Item, Curate)
the item is also not retrieved because the itemId is only present in the flowscript attributes.