You are here: Foswiki>Tasks Web>Item13596 (26 Aug 2015, GeorgeClark)Edit Attach

Item13596: Wrong list at web rename

Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiUIRename
Reported By: JozefMojzis
Waiting For:
Last Change By: GeorgeClark

How to repo

  • create web Adm
  • go to Adm.WebPreferences
  • click rename web
  • will show VERY long list of topic, for "Change links in topics that refer to Adm.WebHome in any Web:"
  • the list is wrong.
  • thanks god, when click rename - the actual rename don't make any change in the listed topics.
  • Probably search problem - the regex should search only for /\b$webname\b/ not for any substring.

-- JozefMojzis - 01 Aug 2015

Confirming this, but will be difficult to fix. The search for rename regexes are extremely complex. They are dynamically generated in Foswiki::UI::Rename::_getReferenceRE(). The initial search of "candidate" topics is done with a simple "grep" search for speed, and is limited by the capabilities of grep. The actual updates from the candidate list are then processed with a much more complex search and have to deal with many complexities including macro parameters and spaced links.

-- GeorgeClark - 26 Aug 2015

ItemTemplate edit

Summary Wrong list at web rename
ReportedBy JozefMojzis
Codebase 2.0.1, 2.0.0
SVN Range
AppliesTo Engine
Component FoswikiUIRename
Priority Normal
CurrentState Confirmed
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 26 Aug 2015, GeorgeClark
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