cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly

Item12844: Non-existant pages may be listed under "Update links in all webs:"

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: SolrPlugin, NatSkin
Branches:
Reported By: LeilaPearson
Waiting For:
Last Change By: MichaelDaum
For pages that are linked to by pages that have been through one or more move/renames, when you go to rename or delete the page (the target of the links), you'll sometimes see the old - no longer existing - topic names in the list of links to update.

For example, here I had:
  1. Created RenameTest10
  2. Created RenameTest11 which contained a link to RenameTest10.
  3. Renamed RenameTest11 to RenameTest12
  4. Gone to delete Sandbox.Test10

The result was a list of pages to update that included the no longer existing RenameTest11.

DeleteRenameProblem.png

And here's another example:

DeleteRenameProblem2.png

I've reproduced this both on my 1.1.9 site and Michael's demo site.

If you go through with the delete or rename it doesn't seem to cause too much of a problem for the end user except that it's a bit confusing.

This issue may be related to Task.Item12843. Again I'm not sure this Contrib is to blame so feel free to re-categorize.

-- LeilaPearson - 03 Apr 2014

At least on the demo site, backlinks are extracted from Solr. If you are fast enough to delete a page before the solr picks up the update, will it still display it on the rename/move page. The time frame within that bug happens depends on your setup of the reindexing process: using iwatch this is about 5-10 seconds, using a cronjob for delta indexing it depends on your settings there, e.g. 15 minutes.

A work around would be to add an extra check for the topics to exist when using solr for backlinks to mitigate the display of broken links as in above screenshot.

-- MichaelDaum - 02 Jun 2018
 

ItemTemplate edit

Summary Non-existant pages may be listed under "Update links in all webs:"
ReportedBy LeilaPearson
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component SolrPlugin, NatSkin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic attachments
I Attachment Action Size Date Who Comment
DeleteRenameProblem.pngpng DeleteRenameProblem.png manage 20 K 03 Apr 2014 - 23:09 LeilaPearson Screenshot 1
DeleteRenameProblem2.pngpng DeleteRenameProblem2.png manage 57 K 03 Apr 2014 - 23:10 LeilaPearson Screenshot 2
Topic revision: r3 - 02 Jun 2018, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy