Project

General

Profile

Actions

Bug #77136

closed

Uploading a file through RTE leads to exception

Added by Daniel Goerz over 7 years ago. Updated over 6 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 #1

Updated by Daniel Goerz over 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Gerrit Code Review over 7 years ago

  • Status changed from In Progress to Under Review

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

Actions #3

Updated by Gerrit Code Review over 7 years ago

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

Actions #4

Updated by Gerrit Code Review over 7 years ago

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

Actions #5

Updated by Daniel Goerz over 7 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF