These varaibles are removed in topics created from templates containing them. To test:
- Create a
templatetopic
that includes something like %STARTSECTION{name="mysection" type="section"}%
with corresponding %ENDSECTION
.
- Create a new topic using this
templatetopic
. The lines previously containing these two variables will be empty.
Trying to figure out what was going on, I read over
Item1484 and the docs in
TWikiVariables. Frankly, it looks like the last-minute push-pull over this feature produced a mish-mash, both in the coding and docs. But I guess that's a discussion to take up somewhere else (but where I'm not sure).
Right now, I'd just like to see it work. It brings
TopicClassificationAddOn to it's knees when the template topics loose their named sections.
No, there is no confusion over the spec; only
type="templateonly"
sections should be removed on
templatetopic
instantiation. If other section types are being removed, it is clearly a bug.
On your "mish-mash" point; it is important that
any spec is backed up with testcases. Without them, we can't be sure of anything. And the only arguments for not generating them are laziness and stupidity. In this case, it was my laziness.
SVN 8843
CC
Sorry if I was not clear, but the variables (and the variables only - not the text between) is being removed if
any of the types are specified (or if none are specified which is suppose to default to type="section"). That's why I reporting this as a bug.
Regarding the mish-mash, from where I sit it doesn't look so much like a problem of specs as it does interpersonal issues producing a very "low-level" consensus (e.g. bad decisions).
LB
You were quite clear, and according to my testing SVN8843 fixes the problem. Am I missing something?
CC
Confirming that the fix you applied in SVN8842 fixed this as you noted in that change.
LB
Merged SVN 9065
CC
Closed with the release of 4.0.2
KJL