Skip to content

Broken with TiddlyWiki 5.1.19 #1

@andrewgoz

Description

@andrewgoz

When I click save I get an immediate "Internal JavaScript Error, The data is invalid." The "Save As" dialog is not shown.

Call stack shows:
Error
at TiddlyIESaver.prototype.save (eval code:40:3)
at SaverHandler.prototype.saveWiki (eval code:175:3)
at Anonymous function (eval code:91:4)
at eventListeners[type] (eval code:399:4)
at Widget.prototype.dispatchEvent (eval code:412:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)
at Widget.prototype.dispatchEvent (eval code:418:3)"

Line 40 looks like "window.TiddlyIE.save(pathname, text);"

So far I've worked out that TiddlyIE is looking for an MOTW that has "http://tiddlywiki.com/" in it; the new TiddlyWiki has changed the http to https.

However, I've changed the 5.1.19 MOTW to be "http" and I'm still getting the same problem.

I think TiddlyIE should:

  1. Accept an MOTW with either http or https
  2. The MOTW should not need to end with '\r' (remove existing trailing '\r')
  3. The tokenizer should split on both '\r' and '\n' (line 187: L"\r\n")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions