DNN-5733 - When a version is deleted, some details have to be copied from de deleted to a target version. But not all of them, only if they appearing in the calculated snapshot or represents delete or reset actions.
DNN-5733 - In edit mode, the modules to be used weren't calculated with the API, so some deleted modules could not appear.
DNN-5733 - fixed a problem when deleting the last published version. Some modules appearing in this version can not be in the previous versions, since it depends on the operations done over these previous versions.
DNN-5733 - When we discard the last published version, the cache has to be deleted. If not and some modules were deleted in this last version, the normal view and the edit view will not show these deleted modules.
DNN-5733 - Since the information about the deleted modules must be consistent, the edit mode has to obtain its modules by using the data provider directly.
DNN-5733 - When the last published version is deleted, some deleted modules has to be restored.
DNN-5733 - When a snapshot is created during a delete version operation, version details marked as deleted action have to be deleted ONLY when the module was added in the deleted version.