Bug #80986
closedLinkService does not recognize old RTE links with id= format
100%
Description
Hence the link upgrader fails during 8.7 upgrade.
#1320286857: File ../?id=618 is not valid (".." and "//" is not allowed in path).
example link:
<link ../?id=618 - internal-link "Opens internal link in current window"><img src="fileadmin/_migrated/RTE/RTEmagicC_5948ab6911.gif.gif" data-htmlarea-file-uid="425" data-htmlarea-file-table="sys_file" height="10" width="14" alt="" />Termine</link>
Updated by Gerrit Code Review over 7 years ago
- Status changed from Accepted to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52567
Updated by Markus Klein over 7 years ago
- Description updated (diff)
- Status changed from Under Review to Accepted
Updated by Markus Klein over 7 years ago
- Status changed from Accepted to Under Review
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52567
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52618
Updated by Markus Klein over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 922ae4e1c5c3bc5a1264c63cb86660e7b7d7f071.
Updated by Gerrit Code Review over 7 years ago
- Status changed from Resolved 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/52666
Updated by Gerrit Code Review over 7 years ago
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/52666
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52666
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52673
Updated by Christer V over 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset 6107947cb0d417f90ac6843d197d27c15c36634f.
Updated by Christian Stern over 7 years ago
Markus Klein wrote:
Hence the link upgrader fails during 8.7 upgrade.
[...]
example link:
[...]
Will this also deal with direct links to files? I just run into this issue caused by links like this: ../fileadmin/x/y/file.txt
A small workaround that helped me was to update those links directly via sql. I assume no liability for the fact that it works.
UPDATE tt_content
SET bodytext = REPLACE
WHERE bodytext LIKE ('%<link ../?id=%')
UPDATE tt_content
SET bodytext = REPLACE
WHERE bodytext LIKE ('%<link ../%')
Updated by Markus Klein over 7 years ago
No, this is just for page links and not for such direct file links.
If you experience problems with those, please create a dedicated ticket and also explain, how those links might have found their way into the DB. Eg. additional extensions and so on.