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

The testcases test_moveTopic and test_getrevinfo fail.

However, more test cases should indicate failure since according to my first debugging attempts every call to TWiki::Func::saveTopicText must fail: This function calls checkAccessPermission without supplying $meta as a parameter, so all following parameters are misinterpreted.

From TWiki/Func.pm:

            $session->{security}->checkAccessPermission( 'change',
                                                     $session->{user}, undef,
                                                     $topic, $web )

From TWiki/Access.pm:

    my( $this, $mode, $user, $text, $meta, $topic, $web ) = @_;

I guess TWiki::Func::saveTopicText should be fixed?


Yep, thx.

CC

Closed in 4.0.5 KJL

ItemTemplate
Summary Unit tests fail in FuncTests.pm
ReportedBy TWiki:Main.HaraldJoerg
Codebase ~twiki4
SVN Range 11383
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 11393
TargetRelease patch
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-11-14 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback