Project

General

Profile

Actions

Bug #75888

closed

RTE - TYPO3 throws an error trying to edit images from external resources.

Added by Riccardo De Contardi almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2016-04-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Steps to reproduce the issue (I tried with the latest master, but I guess it is the same with 7.6.x):

1) add CE text w/media
2) edit the HTML and add an image from an external url e.g. writing: (*)

<img src="http://www.serateotaku.it/img/jeeg/jeeg1.jpg" alt="" />

3) exit the source code mode; click on the image and click on the image button to edit it
4) you will obtain the error:

Oops, an error occurred!
The UID of file has to be numeric. UID given: "null" 
More information regarding this error might be available online.

(*) you can even drag and drop the image from another window of the browser directly into the RTE area

Explanation
this is because an images added with the RTE interface have the attribute: data-htmlarea-file-uid="XX" while the "external" image obviously lacks it.

the behavior is understandable, and images should not be added that way, but I think that a less scary error message would be more appropriate.

something like
"The file you have selected doesn't seem to be found among the assets managed by the CMS, so its properties can't be edited. please click here to select another file etc etc..."


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #76677: Pasting HTML with image fails in RTE if no default upload folder can be foundClosed2016-06-17

Actions
Related to TYPO3 Core - Bug #76899: Editing images on RTE that were not added by the Insert Image button throws an exceptionClosed2016-06-30

Actions
Related to TYPO3 Core - Bug #72944: Behaviour dontFetchExtPictures optionClosed2016-01-26

Actions
Actions #1

Updated by Riccardo De Contardi almost 8 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi almost 8 years ago

  • TYPO3 Version changed from 8 to 7
Actions #3

Updated by José Ricardo almost 8 years ago

I confirm this behavior, but as suggested on #76899, I believe that allowing a new image to be replaced would be great and useful.

Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Related to Bug #72944: Behaviour dontFetchExtPictures option added
Actions #5

Updated by Mathias Schreiber over 6 years ago

  • Status changed from New to Closed

HTMLArea is no longer supported by TYPO3.
You can open up new issues here https://github.com/FriendsOfTYPO3/rtehtmlarea.

Cheers
Mathias

Actions

Also available in: Atom PDF