Project

General

Profile

Actions

Bug #94898

closed

search_field loses its value after editing

Added by Martin Neumann over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-08-16
Due date:
% Done:

100%

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

Description

Steps to reproduce:

1) Search for a string in a recordlist in BE
2) Click to "edit" a cord and close the record
3) search_field is empty again

Actions #1

Updated by Martin Neumann over 2 years ago

  • Subject changed from search_field loses its value after editiing to search_field loses its value after editing
Actions #2

Updated by Martin Neumann over 2 years ago

This has to be fixed in this line:
/sysext/recordlist/Classes/Controller/RecordListController.php:207

from

$this->search_field = (string)($parsedBody['search_field'] ?? $queryParams['search_field'] ?? '');

to

$this->search_field = (string)($parsedBody['search_field'] ?? $queryParams['search_field'] ?? $this->search_field);

(as $this->search_field is already set to '' a few lines above - or to the value from session if there was one)

Actions #3

Updated by Gerrit Code Review over 2 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/+/70613

Actions #4

Updated by Benni Mack over 2 years ago

Only happens in v10, fixed in v11.

Actions #5

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to New
Actions #6

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72051

Actions #7

Updated by Martin Neumann over 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF