• 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.

Item6401: ASSERT prevents TWiki::Users::TWikiUserMapping from being subclassed

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TWikiUserMappingContrib Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The ASSERT at lib/TWiki/Users/TWikiUserMapping.pm line 980 specifically requires the object to be blessed in class TWiki::Users::TWikiUserMapping. This prevents subclassing from working with TWiki::Users::TWikiUserMapping. The ASSERT needs to be modified to add a check using UNIVERSAL::isa() so that its subclasses can use the function too.

-- TWiki:Main/IanKluft - 26 Feb 2010

This fixes the root cause of a bug in OpenIdRpContrib

-- TWiki:Main.IanKluft - 26 Feb 2010

ItemTemplate
Summary ASSERT prevents TWiki::Users::TWikiUserMapping from being subclassed
ReportedBy TWiki:Main.IanKluft
Codebase 4.3.2
SVN Range TWiki-5.0.0, Sat, 02 Jan 2010, build 18269
AppliesTo Extension
Component TWikiUserMappingContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:18357
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2010-05-31 - 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