Project

General

Profile

Actions

Bug #92880

closed

Incorrect reference count in form management

Added by Rudy Gnodde about 4 years ago. Updated almost 4 years 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

Actions

Also available in: Atom PDF