No Code Attached Yet
avatar brianteeman
brianteeman
30 Aug 2023

Steps to reproduce the issue

Try to drag and drop an images into tinymce

Expected result

image uploaded etc

Actual result

nothing happens in the browser

browser console shows a js error

Uncaught TypeError: Cannot read properties of undefined (reading 'uploadUri')
    at uploadFile (plugin.js:40:33)
    at reader.onload (plugin.js:141:9)

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 30 Aug 2023
avatar joomla-cms-bot joomla-cms-bot - change - 30 Aug 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Aug 2023
avatar richard67
richard67 - comment - 30 Aug 2023

@brianteeman If you switch on debug, the unminified js files would be used, and the browser console would show different line numbers than 1, so the problem could be located better.

avatar brianteeman
brianteeman - comment - 30 Aug 2023

doh - updated report

avatar brianteeman brianteeman - change - 30 Aug 2023
The description was changed
avatar brianteeman brianteeman - edited - 30 Aug 2023
avatar dgrammatiko
dgrammatiko - comment - 30 Aug 2023

I know what's wrong there, the options in v6 need another approach. Will do a PR

EDIT: basically the options need to be typed: https://github.com/joomla/joomla-cms/pull/40682/files#diff-a47df55bdfd123319dc15cc01eb27977307296c7adecd57900477a2615e33014R167-R173

EDIT 2: there's a PR #41528

avatar brianteeman brianteeman - change - 30 Aug 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-08-30 15:30:29
Closed_By brianteeman
avatar brianteeman brianteeman - close - 30 Aug 2023

Add a Comment

Login with GitHub to post a comment