Project

General

Profile

Actions

Task #90277

closed

Remove throwing of RuntimeException if RenderingContext is not desired type, replace with method presence checks.

Added by Claus Due about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Implementations of RenderingContext currently throws RuntimeException, but is technically compatible with other instance types of RenderingContext.

The goal of throwing the exception is to avoid calling methods that do not exist - this can be achieved by checking if the method exists.

Actions #1

Updated by Gerrit Code Review about 4 years ago

  • Status changed from New 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/c/Packages/TYPO3.CMS/+/63102

Actions #2

Updated by Claus Due about 4 years ago

  • Status changed from Under Review to Resolved

Marking "resolved" since patch was already merged.

Actions #3

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF