Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After "DELETE EVERYTHING AND START AGAIN" the "Cached URI" field in "Old links" table is empty #83

Open
robofant opened this issue Apr 9, 2018 · 1 comment

Comments

@robofant
Copy link

robofant commented Apr 9, 2018

After a relaunch of a website with TYPO3 I used "New redirect" to add some redirects from the old URLs to the new ones. I made them sticky. After "DELETE EVERYTHING AND START AGAIN" without "Delete sticky too" activated, the "Cached URI" field in each entry of the "Old links" table is empty.

Had a look into the tables. Since all entries in the table link_oldlinks have a relation to an entry in the table link_cache, all entries in the table link_cache which have a relation to the table link_oldlinks must be sticky, too. Or all entries in link_oldlinks must not refer to an entry in link_cache but to the page id.

@robofant
Copy link
Author

robofant commented Apr 9, 2018

Here is my suggested fix.
Main.php.diff.txt
Explanation: don't delete cached links where an old link is referring to which is sticky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant