Ticket #1114 (new defect)

Opened 3 years ago

Last modified 18 months ago

Tag param from newTiddler macro shows up in title field in edit mode

Reported by: shavinder Owned by: JeremyRuston
Priority: minor Milestone: 2.7.1
Component: core Version: 2.5.02
Severity: low Keywords:
Cc:

Description (last modified by FND) (diff)

when a new tiddler is created based upon a custom editTemplate in which no tags field is defined in edit mode, the value passed through tag parameter in the newTiddler macro is displayed in the Title field displayed in edit mode.

the editTemplate is this:

<!--{{{-->
<div class="toolbar border" macro="toolbar [[ToolbarCommands::EditToolbar]]"></div>
<div class="title" macro="view title"></div>
<div class="title" macro="edit title"></div>
<!--}}}-->

the newTiddler macro call is this:

<<newTiddler label:"myLabel" title:"myTitle" tag:"myTag" template:"myTemplate">>

The result is:

the title field in the created tiddler would show the string "myTitle myTag" instead of just "myTitle".

Change History

Changed 3 years ago by FND

  • severity changed from undefined to low
  • description modified (diff)
  • milestone set to 2.5.4

Changed 2 years ago by FND

  • milestone changed from 2.6 to 2.6.1

Changed 18 months ago by MartinBudden

  • milestone changed from 2.6.2 to 2.7.1

Milestone 2.6.2 deleted

Note: See TracTickets for help on using tickets.