While following the instructions described in [1] on how to upgrade a
TiddlyWiki from a version earlier than 2.4.0, I came accross an
NS_ERROR_FILE_NOT_FOUND error when importing a TiddlyWiki file from
the local filesystem.

The source of the problem lies in the fact that the input texts "Enter
the URL or pathname here" (IT1) and "...or browse for a file:" (IT2)
are not in sync upon selection of a file using the "Browse..." button:
- IT1 contains the base path of the current TiddlyWiki concatenated
with the filename of the TiddlyWiki to import
- IT2 contains the right (selected) file path of the TiddlyWiki to
import

When the TiddlyWiki to import and the current TiddlyWiki reside at
different locations in the filesystem, IT1 results in an incorrect
path. Because the value of IT1 is picked when pressing "open", the
import process fails.

In order to reproduce this error, the following steps should be taken:
- go to backstage
- select import
- using the "Browse..." button, select a TiddlyWiki file from a
location different than the one of the current TiddlyWiki
- IT1 and IT2 do not match and IT1 is invalid
- press "open"
- an NS_ERROR_FILE_NOT_FOUND error is raised as IT1 is invalid

New TiddlyWiki version 2.5.0, old TiddlyWiki version 2.3.0.
Using Firefox 3.0.7 on Linux.

Can I report this bug as a trac ticket?

s...@nt0$

[1] http://www.tiddlywiki.com/#HowToUpgradeOlderTiddlyWikis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to