rainlab/translate-plugin

Multiple issues with MLMediaFinderv2

acasar opened this issue · 1 comments

In the latest version of October v3 (v3.0.61) I tried to make a mediafinder field translatable. I noticed several issues:

  1. When mode:image is set, thumbnail previews are not generated
  2. When maxItems is set to a value of 2 or more, it's not possible to reorder records (they get duplicated)

The easiast way to replicate the issue is to install the https://github.com/octobercms/test-plugin and make all media fields in the October\Test\Models\User model translatable (also make sure that rainlab/translate is installed with at least 2 languages defined):

public $translatable = ['media_file', 'media_image', 'media_files', 'media_images'];

Here is a short video demonstrating the issue:

5c418ced707598f338ab072eedae85e8.mp4

Thanks for finding this and for the clear replication instructions. The sorting issue (2) appears to be an issue in v2 also.

  1. This is fixed in commit 74871aa
  2. This is to be fixed in >= v3.0.62 and v2.2.33