Project

General

Profile

Actions

Bug #94960

closed

References to formPersistenceIdentifier

Added by Achim Fritz over 2 years ago. Updated over 2 years ago.

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

100%

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

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'"

Actions

Also available in: Atom PDF