Bug #80986
closed
LinkService does not recognize old RTE links with id= format
Added by Markus Klein over 7 years ago.
Updated about 6 years ago.
Category:
Site Handling, Site Sets & Routing
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>
- Status changed from Accepted to Under Review
- Description updated (diff)
- Status changed from Under Review to Accepted
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
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 ../%')
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.
- Status changed from Resolved to Closed
Also available in: Atom
PDF