Ticket #35 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Problem with detecting tiddler links

Reported by: JeremyRuston Owned by: MartinBudden
Priority: minor Milestone: 2.1
Component: core Version:
Severity: low Keywords:
Cc:

Description (last modified by JeremyRuston) (diff)

There's a minor error in matching WikiLinks? in this function: WikiLinks? must begin with a capital letter, in the "wikiLink" config.formatters there is a prematch check to ensure that (say) aNewWikiLink is not matched. However there is no corresponding check in Tiddler.prototype.changed. This means if you create a tiddler which includes the text "aNewWikiLink" then (correctly) a wikiLink will not be created. However the Tiddler.prototype.changed function will match on "NewWikiLink?" and won't do a pre-match check. This means "NewWikiLink?" (without the "a") will be added to the links[] array and so will turn up in the Missing Tiddlers tab.

See this thread for more details.

Change History

Changed 2 years ago by JeremyRuston

  • description modified (diff)

Changed 2 years ago by MartinBudden

  • owner changed from JeremyRuston to MartinBudden

Changed 2 years ago by JeremyRuston

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:272

Note: See TracTickets for help on using tickets.