Bug #78574
closedElementBrowser does not highlight selected file in filelist view
100%
Description
If an existing filereference is edited via the Link Wizard, the selected element is not highlighted in the element browser.
In Release 7.6.9 the element was highlighted. Since release 7.6.10 no longer. The reason is that the variable "$ linkParts [ 'url']" is of type string, not the integer type. A value and type comparison is made for the highlighting.
Affected file:
EXT: recordlist / Classes / LinkHandler / FileLinkHandler.php: 79
EXT: recordlist / Classes / LinkHandler / FileLinkHandler.php: 222
Solution:
EXT: recordlist / Classes / LinkHandler / FileLinkHandler.php: 79 must be cast as integer.
The trigger for the error is:
https://forge.typo3.org/issues/66369
Troubleshooting:
1. Login
2. Edit existing contentElement with link to fileElement
3. ElementBrowser (LinkWizard) will open
4. File is not highlighted (This is the bug)
Updated by Gerrit Code Review about 8 years ago
- Status changed from In Progress 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/50501
Updated by Gerrit Code Review about 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Gerrit Code Review about 8 years ago
Patch set 3 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Gerrit Code Review about 8 years ago
Patch set 4 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Gerrit Code Review about 8 years ago
Patch set 5 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Gerrit Code Review about 8 years ago
Patch set 6 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50502
Updated by Joerg Boesche about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 21163a017cf94c905c5573d81869e76e2423a2b0.