Bug #92880

Incorrect reference count in form management

Added by Rudy Gnodde about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-11-19
Due date:
% Done:

100%

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

Description

The reference count in the form management counts sys_refindex records that are marked as deleted. In TYPO3\CMS\Form\Service\DatabaseService::getAllReferences there is no check for deleted = 0.

You can reproduce this bug with the following steps:

- Create a form
- Add a form content element and link the created form to it
- Check the form management module to see 1 reference
- Delete the form content element
- Check the form management module to still see 1 reference

TYPO3 10.4.10

#1

Updated by Gerrit Code Review about 1 year 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/+/66709

#2

Updated by Gerrit Code Review about 1 year ago

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/+/66677

#3

Updated by Georg Ringer about 1 year ago

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

Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF