Bug #54351

Selection of media in thumbnail view give an error 500

Added by Thierry Brodard over 1 year ago. Updated 12 months ago.

Status:Resolved Start date:2013-12-12
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:-

Description

In list view, everything is fine

History

#1 Updated by Arjen Hoekema over 1 year ago

I'm experiencing the same behavior. Traced it down to the file 'upload.js' in package 'TYPO3.Media' line 65:

$('.asset-list').on('click', '.asset', function(e) {
window.parent.Typo3MediaBrowserCallbacks.assetChosen($(this).attr('data-asset-identifier'));

Looks like the 'asset-identifier' data attribute in the thumbnail view is placed on the link inside the 'li.asset' while the list view places the 'asset-identifier' and the class 'asset' both on the '<tr>'.

Possible solution would be to modify the 'ThumbnailView.html' and place the class 'asset' on the link.

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Media has been pushed to the review server.
It is available at https://review.typo3.org/26543

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.Media has been pushed to the review server.
It is available at https://review.typo3.org/26543

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.Media has been pushed to the review server.
It is available at https://review.typo3.org/26543

#5 Updated by Aske Ertmann 12 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF