Arlima icon indicating copy to clipboard operation
Arlima copied to clipboard

Video instead of photo for teaser causes fatal error

Open benjitavos opened this issue 10 years ago • 6 comments

On Arlima Manage list tab, after selecting an article in a list, the user can browse for a teaser photo from the available media library. The problem is that in media library the user can also select a video, and after adding a video file for a teaser the page that is supposed to render the Arlima list is not rendered correctly. All posts up to the post with the video file is rendered, but the rest is failing to render correctly, a fatal error is thrown.

Arlima version deployed: 3.0 beta 34

benjitavos avatar Jul 16 '14 11:07 benjitavos

Videos are not supported at the moment. The first simple step we need to take is to only display images in the media library pop-up (if possible). Later on we can discus whether or not this feature (the rendering of videos in arlima articles) should be implemented.

victorjonsson avatar Jul 16 '14 13:07 victorjonsson

Filtering out videos from the media library pop-up would be a great start, this way we can at least avoid errors if the user is not aware of the restrictions.

benjitavos avatar Jul 16 '14 13:07 benjitavos

yes, it should be a quick fix

victorjonsson avatar Jul 16 '14 13:07 victorjonsson

Will you be able to perform this fix in near future @victorjonsson?

benjitavos avatar Jul 21 '14 12:07 benjitavos

Didn't find any easy way to filter out images in the media library but now the user will get an alert saying that only images can be added to the article.

victorjonsson avatar Jul 22 '14 11:07 victorjonsson

Thanks, that fix is good enough for us at this point. But if the other solution we discussed earlier is possible to implement later on it would be even better.

benjitavos avatar Jul 22 '14 12:07 benjitavos