Project

General

Profile

Actions

Bug #85109

closed

New record version will call exception when you work in workspace.

Added by Alexey Atsyn almost 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Start date:
2018-05-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

How it can be reproduced:

  1. Configure field in a TCA like
    'type' => 'select',
    'renderType' => 'selectCheckBox',
  1. Switch to workspace and edit a live version (2018-05-29-source_record.png)
  2. Save it -> exception (2018-05-29-exception.png)

How it can be fixed:

File: /typo3/sysext/core/Classes/DataHandling/DataHandler.php
Line: 6465
Current: $origValueArray = explode(',', $value);
Should be: $origValueArray = is_array($value) ? $value : explode(',', $value);


Files

2018-05-29-source_record.png (47.9 KB) 2018-05-29-source_record.png Alexey Atsyn, 2018-05-29 11:20
2018-05-29-exception.png (144 KB) 2018-05-29-exception.png Alexey Atsyn, 2018-05-29 11:20
Actions

Also available in: Atom PDF