Project

General

Profile

Actions

Bug #77136

closed

Uploading a file through RTE leads to exception

Added by Daniel Goerz over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2016-07-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

Description

Reproduce:
  1. Enable Imags in RTE in EM
  2. Go to a content element with RTE
  3. Click on the image icon in the RTE
  4. Switch to "New Magic Image" or "New Plain Image"
  5. Check the "Overwrite existing files" checkbox
  6. Upload any file

Explanation:
The (deprecated) combatibility layer in the DuplicationBehavior Enumeration has been removed with #72426.
Here the value "1" is still passed to the DuplicationBehavior::cast() method wich is no longer mapped to
the correct constant and though leads to the exception.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #72426: Remove deprecated code from file and image processing functionsClosedJigal van Hemert2015-12-23

Actions
Related to TYPO3 Core - Task #55419: Use enumeration for handling conflict in file namesClosedDaniel Goerz2014-01-29

Actions
Actions

Also available in: Atom PDF