Issue Bug Closed

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

Alexey Atsyn 05/29/18, 11:23 updated 05/07/19, 12:17

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);

Reviews 2