Item11677: WebLeftBarPersonalTemplate contains broken changes search

Priority: Normal
Current State: Waiting for Feedback
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SEARCH
Reported By: JulianLevens
Waiting For:
Last Change By: CrawfordCurrie
I thought I check what I've been up to on our Wiki. So I clicked My Main activities as originally generated from PatternSkin. There was at least one obvious topic missing. So, the question was why?

After some digging; I discovered that the embedded search simply looks for my WikiName rather than my username. Now a quick change of my search from:
   * [[%SCRIPTURL{search}%/%BASEWEB%/?search=JulianLevens;order=modified;limit=50;reverse=on][My %BASEWEB% activities]]
   * [[%SCRIPTURL{search}%/%BASEWEB%/?search=(levensj|JulianLevens);order=modified;limit=50;reverse=on;type=regex][My %BASEWEB% activities]]

Fixed that, although I'm now left with an admin task to fix everybody's PersonalLeftBar ...

A more complete solution is required. It seems to me that any store needs to be able to treat a search on the author field intelligently: i.e. able to retrieve topics with the logical matching user. In which case the above would ideally become a query search.

-- JulianLevens - 20 Mar 2012

Julian, the internal author field should not be changing from WikiName to the LoginName. It should remain as the consistent cUID. Did your wiki change the setting of AllowLoginName at some point?

If there is a problem here it's somewhere down in search, and not in the Skin.

-- GeorgeClark - 21 Dec 2014

We went from template login to SSO via LdapContrib; LdapApacheLogin, LdapUserMapping; LdapPasswdUser and mod_auth_sspi.

I suspect strongly that AllowLoginName changed.

Crucially the internal author field did change.

Hopefully soon I will by upgrading the company Wiki to 1.2 and I want to do some clean-up during the copy from OldStore to NewStore — would it be advisable to change internal author ,and related, fields to the cUID?

-- JulianLevens - 22 Jan 2015

Julian, This would be a good one to discuss with Crawford on IRC. I don't know enough about store internals, although my gut feel is that yes, the topic META should always use the cUID

-- GeorgeClark - 05 Feb 2015


-- CrawfordCurrie - 15 Mar 2015

ItemTemplate edit

Summary WebLeftBarPersonalTemplate contains broken changes search
ReportedBy JulianLevens
Codebase 1.1.0, 1.0.0, trunk
SVN Range
AppliesTo Extension
Component SEARCH
Priority Normal
CurrentState Waiting for Feedback
TargetRelease n/a
ReleasedIn n/a
Topic revision: r7 - 15 Mar 2015, CrawfordCurrie
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