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 #1

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

Actions #2

Updated by Gerrit Code Review about 4 years 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

Actions #3

Updated by Georg Ringer about 4 years ago

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

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF