Project

General

Profile

Actions

Bug #78495

closed

ArrayUtility::setValueByPath(['foo' => []], 'foo/0', 'value') throws exception

Added by Helmut Hummel about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-10-29
Due date:
% Done:

100%

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

Description

Code executed
ArrayUtility::setValueByPath(['foo' => []], 'foo/0', 'value')

Expected result:
['foo' => ['value']

Actual result:

\RuntimeException('Invalid path segment specified', 1341406846)
Actions

Also available in: Atom PDF