buggnokii - Bugs: bug #20815, importing from a file eats the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20815: importing from a file eats the symbol after a backslash

Submitter:  None
Submitted:  Sat 18 Aug 2007 07:27:07 PM UTC
   
 
Category:  xgnokii Severity:  2 - Minor
Item Group:  minor malfunction Status:  Fixed
Privacy:  Public Assigned to:  dforsi
Open/Closed:  Closed

Thu 25 Oct 2007 04:00:03 PM UTC, comment #2: 

As stated in my previous comment, I committed a patch to make the "File -> Export to file function" compatible with the way "File -> Import" and gnokii --getphonebook/--writephonebook work, that is treating backslashes as escapes.

If you need to import a phonebook saved with an older version of xgnokii I'm afraid you need to edit it doubling all the backslashes.

People willing to test import and export should be aware that the "File -> Import" function replaces the entire phonebook with the one read from file.

Daniele Forsi <dforsi>
Group administrator
Tue 11 Sep 2007 03:00:25 PM UTC, comment #1: 

This "File > Import" function is consistent with gnokii --writephonebook. They treat the backslash character as an escape so you need to write "\" in the file to get a "" in the phonebook and ";" to get ";" (all other escape sequences are discarded).

It is the "File > Export" that needs fixing because it doesn't escape the backslashes.

Daniele Forsi <dforsi>
Group administrator
Sat 18 Aug 2007 07:27:07 PM UTC, original submission:  

gnokii cvs 20070818

To reproduce: Start xgnokii. Click "Contacts", File -> Import from File. Import a file with a backslash in the name. The symbol after the backslash is missing.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13705:  .gnokiirc added by ibr (288B - application/octet-stream)
file #13704:  zzz1 added by None (29B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dforsi (Posted a comment)
  • -email is unavailable- added by ibr (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-25 dforsi Open/ClosedOpen Closed
    2007-10-25 dforsi StatusIn Progress Fixed
        Assigned toNone dforsi
    2007-09-11 dforsi Severity3 - Normal 2 - Minor
        Item GroupNone minor malfunction
        StatusNone In Progress
    2007-08-18 ibr Attached File- Added .gnokiirc, #13705
    2007-08-18 None Attached File- Added zzz1, #13704

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code