Hi rakugo. Thanks for looking into this, but... I disagree. :)

The bug exists right now on the 2.6.5 released version at
tiddlywiki.com. I just downloaded another empty.zip (empty.html and
TiddlySaver.jar) from there to double-check it in Opera. Yep, failed
as expected: created a tiddler, saved it, refreshed the browser,
created a 2nd tiddler, but wasn't able to save that 2nd one. Same fail
in Safari. Creating a new MarkupPostBody tiddler in Firefox "fixed"
it.

I don't know which particular commit created that bug, I can only see
that in 2.6.4 "<!--POST-SCRIPT-START-->" comes after the
"if(useJavaSaver)" script and in 2.6.5 it comes before.

Either that wasn't the commit that created the bug or a dev version
sneaked onto tiddlywiki.com

On Nov 14, 6:34 am, rakugo <[email protected]> wrote:
> Hi Ronald thanks for the heads up.
> I've sent a patch to fix this [1] but I must point out this wasn't
> released.
>
> The change that introduced this was done on a development version [2]
> which happened after 2.6.5
>
> [1]https://github.com/TiddlyWiki/tiddlywiki/pull/70
> [2]https://github.com/TiddlyWiki/tiddlywiki/commit/9a26077a910354b3e0b76...
>
> On Nov 14, 4:28 am, RonaldMulero <[email protected]>
> wrote:
>
>
>
> > Tiddlywiki 2.6.5 introduces a bug that affects Opera and Safari users:
> > Saving changes works, but only until the first time the browser is
> > refreshed. After that, the user will only get the warning:
> > "It's not possible to save changes. Possible reasons include:
> > - your browser doesn't support saving (Firefox, Internet Explorer,
> > Safari and Opera all work if properly configured)
> > - the pathname to your TiddlyWiki file contains illegal characters
> > - the TiddlyWiki HTML file has been moved or renamed"
>
> > The cause of this bug is at line 10144 of the source code for 2.6.5:
> > "<!--POST-SCRIPT-START-->" has been placed before the
> > "if(useJavaSaver)" script instead of after it (where it was in tw
> > 2.6.4, which worked in Opera and Safari), so the entire
> > "if(useJavaSaver)" script gets overwritten after the first save by
> > whatever is in MarkupPostBody, which in a default tiddlywiki is
> > nothing.
>
> > A temporary workaround is to open the tiddlywiki in Firefox and create
> > a tiddler with the title MarkupPostBody and place the following script
> > in the tiddler's body:
> > <script type="text/javascript">
> > //<![CDATA[
> > if(useJavaSaver)
> >         document.write("<applet style='position:absolute;left:-1px'
> > name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar'
> > width='1' height='1'></applet>");
> > //]]>
> > </script>
>
> > After saving the MarkupPostBody tiddler, the tiddlywiki can once again
> > be saved in Opera of Safari.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to