Bug #77136

Uploading a file through RTE leads to exception

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

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
#1

Updated by Daniel Goerz almost 6 years ago

  • Status changed from New to In Progress
#2

Updated by Gerrit Code Review almost 6 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

#3

Updated by Gerrit Code Review almost 6 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

#4

Updated by Gerrit Code Review almost 6 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

#5

Updated by Daniel Goerz almost 6 years ago

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

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF