Project

General

Profile

Actions

Bug #85109

closed

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

Added by Alexey Atsyn over 6 years ago. Updated over 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 #1

Updated by Alexey Atsyn over 6 years ago

  • Target version set to 8.7.15
Actions #2

Updated by Benni Mack over 6 years ago

  • Target version changed from 8.7.15 to 8.7.19
Actions #3

Updated by Gerrit Code Review over 6 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/57484

Actions #4

Updated by Gerrit Code Review over 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/57484

Actions #5

Updated by Susanne Moog about 6 years ago

  • Target version changed from 8.7.19 to Candidate for patchlevel
Actions #6

Updated by Gerrit Code Review about 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/57484

Actions #7

Updated by Gerrit Code Review about 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58714

Actions #8

Updated by Alexey Atsyn about 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF