Symmetric biderectional records, does not work with type=group
I have configures a relation from the pages table to itself using an irre and the following configuration
"config" => Array (
"symmetric_field" => "related",
This works fine if the relationstable (tx_ksrelatedpages_pages_relations) is has the page and related fields defined as type="select", but does not work for type="group"
The problem is identified to the t3lib_loadDBGroup::isOnSymmetricSide methods which makes a check to see if the value from the relations page points to the record currently being edited bu using a simple == operator.
But for type=group, the field is not stored as an integer, but stored as pages_43|Title of my page, and thus the method returns false always.
The attached patch fixes this by making a check to see if the field is an integer, and if not, tries to parse it correctly
The problem appears on all versions of TYPO3 since IRRE was introduces, including 4.3.3
(issue imported from #M14378)
#4 Updated by Alexander Opitz about 4 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.