Tags:
create new tag
view all tags

SID-00284: Error in handling user object

Status: Unanswered Unanswered TWiki version: 4.3.0 Perl version: ActivePerl v5.8.4
Category: CategoryAuthentication Server OS: Windows XP Prof SP2 Last update: 16 years ago

Hello all together!

I have written a second type of search; a search that looks inside of attached htm files for a requested string. Now, I user the typical search-template for printing the results on the screen. But I have problems to find out, which user modified the files the last time.

To look at all files, I user the perl-function

File::Find
in the "pub"-directory. For htm files with the requested content, I save topic and filename. Then, I want to get the username from the files which stands in the meta-information, so I call
TWiki::Store::getRevisionInfo
with the parameters
($session->{store}, $web, $topic, undef, $_)
. From this function, I should expect this values:
( $date, $user, $rev, $comment )
where $user is a user object (Documentation). Now, I have an object as it would be if I created it with
$user = TWiki::User::new(...)
, right? (I expect my error to be here.) So far so good. When I want to call
$user->WikiName()
, I get the error message

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Can't locate object method "WikiName" via package "BaseUserMapping_666" (perhaps you forgot to load "BaseUserMapping_666"?)

. I searched in the TWiki web, the Support web and in google for "BaseUserMapping", but could not find any tips for my situation.

PS: All other functions work - I get the correct date and the correct revision, but if I print $user only "BaseUserMapping_666". I read TWiki04x03.TWiki::Users::BaseUserMapping, but could not find any helpful tips also.

-- MarkStephan - 2009-04-27

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-06-02

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Error in handling user object
SupportCategory CategoryAuthentication
TWiki version 4.3.0
Server OS Windows XP Prof SP2
Web server Apache/2.2.11 (Win32)
Perl version ActivePerl v5.8.4
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TWiki_Configuration.htm r1 manage 212.2 K 2009-04-27 - 09:29 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-06-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.