Item13596: Wrong list at web rename
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
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