Bug #94960
closedReferences to formPersistenceIdentifier
100%
Description
having References to formPersistenceIdentifier from custom table, e.g.:
mysql> select tablename,softref_key,flexpointer,ref_table from sys_refindex where softref_key like '%form%';
+--------------+---------------------------+------------------------------------------------+-----------+
| tablename | softref_key | flexpointer | ref_table |
+--------------+---------------------------+------------------------------------------------+-----------+
| tt_content | formPersistenceIdentifier | sDEF/lDEF/settings.persistenceIdentifier/vDEF/ | sys_file |
| tx_b13_items | formPersistenceIdentifier | sDEF/lDEF/settings.persistenceIdentifier/vDEF/ | sys_file |
+--------------+---------------------------+------------------------------------------------+-----------+
(here "tx_b13_items" is my custom table)
Click "Form" Module in Backend to "Form Management"
the Form is listed with 2 References, click the "2" in the Reference Column, only one reference is shown (the one to tt_content)
this happens because on SQL-Query for count reference have no constraint to "tablename" column, but SQL-Query for fetching references by form-identifier have constraint to "tablename='tt_content'"
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
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/c/Packages/TYPO3.CMS/+/70722
Updated by Gerrit Code Review about 3 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/+/70693
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fe19922c8f87b586fcd94aac6e50d71c7610a59e.