• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
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.
Item7117: expandVariablesOnTopicCreation may fail if web & topic parameters are missing
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Engine |
|
Normal |
Closed |
|
patch |
5.1.4 |
Detail
The develop.twiki.org TWiki failed when adding a comment with default comment box.
Chain:
- TWiki.Commentplugin calls
TWiki::Func::expandVariablesOnTopicCreation()
just with text
, without web and topic parameter (as documented)
-
TWiki::expandVariablesOnTopicCreation
calls expandAllTags( $this, \$etext, $theTopic, $theWeb )
with undefined web and tropic parameters
Fix:
- In
TWiki::expandVariablesOnTopicCreation
, define web and topic if missing.
- Add optional web and topic parameters to
TWiki::Func::expandVariablesOnTopicCreation()
--
TWiki:Main/PeterThoeny
- 2013-01-05
This is now fixed in SVN trunk and 5.1 branch.
--
TWiki:Main.PeterThoeny
- 2013-01-05