• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6627: Unknown users resolved different in attachments and topics

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Unknown users resolved different in attachments and topics

When a topic was created by a user who is not known on the TWiki, the name is shown as is stored in the meta data. However, when an attachment was added by such user, "UnknownUser" is rendered for the name.

This is an inconsistency that should be rectified.

Note further that unknown authors render prefixed with "Main", so if the name is a wiki name, we have an undefined link, but if the name is not a wiki name (e.g., if login names are allowed to be different from wiki names) then it renders as the text "Main.xxxx" where xxxx is the login name. That is also not good.

The question is, what should be rendered for an unknown user? I wonder whether the better solution would be to display the name, even if not known, rather than the generic "UnknownUser", as this would at least provide some information?

-- TWiki:Main/ThomasWeigert - 2010-12-29

Agree, if the user recorded on meta data (for topic as well as attachments) is unknown to the system (e.g. to password manager), TWiki should simply display that user. If it is a WikiName, show the Main.WikiName link, if not show just the login name.

Practical use case: Employee leaves the organization, so login to TWiki is removed. The user homepage is retained, for example to list new contact person.

-- TWiki:Main.PeterThoeny - 2010-12-29

Summary Unknown users resolved different in attachments and topics
ReportedBy TWiki:Main.ThomasWeigert
Codebase 4.3.1
SVN Range TWiki-5.0.1, Mon, 20 Dec 2010, build 20024
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2010-12-29 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback