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

Create a topic template, let's say BlogTemplate, and add a topic preference Set VIEW_TEMPLATE = BlogView via "Edit topic preference settings" on the More-page to it. When creating a NewBlogEntry using the BlogTemplate it will not have the VIEW_TEMPLATE topic preference.

This is an interesting bug: the edit script does not pass metadata other than form fields, as no other metadata can be edited in the edit application. However, when we create a topic using edit and passing it a templatetopic parameter, we would expect that all information in the templatetopic ends up in the created page. Not so. No metadata other than the form data is taken from the templatetopic.

Note that in Edit.pm there is even code to update the topic parent, but this also has no effect for the same reason.

This seems incorrect behavior to me, and based on the code attempting to update topic parent from the template, it is not intended. Luckily enough this is easily fixed. --TW

Fixed. Added test case to SaveScriptTests. (Note that currently simpleFormSave2(SaveScriptTests) is failing, independently of this change.) In SVN 6082. --TW

This is still / again a problem. Maybe Item1881 is related. -- OK

SaveScriptTests::test_templateTopicWithMeta does not fail, because it only tests the direct save (bin/save/Myweb/MyTopic?templatetopic=MyTemplate&action=save). The error occurs, when you manually go through the edit-save-cycle. -- OK

No way is this urgent, if it can sit here this long without anyone kicking up a fuss. Regrading to Normal.


Gawd, I found it.


Summary topic preferences not inheritted from topic template
ReportedBy MichaelDaum
Codebase ~twiki4
SVN Range TWiki-4.1-beta1, Wed, 30 Aug 2006, build 11391
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 12455 6082
TargetRelease minor
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r14 - 2007-01-16 - JasonHill
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