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

Submitted by:  None
Submitted on:  Sat 18 Aug 2007 07:27:07 PM UTC  
 
Category: xgnokiiSeverity: 2 - Minor
Item Group: minor malfunctionStatus: Fixed
Privacy: PublicAssigned to: Daniele Forsi <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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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

 

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
  • -unavailable- added by dforsi (Posted a comment)
  • -unavailable- added by ibr (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Oct 2007 04:00:03 PM UTCdforsiOpen/ClosedOpen=>Closed
    Thu 25 Oct 2007 04:00:01 PM UTCdforsiStatusIn Progress=>Fixed
      Assigned toNone=>dforsi
    Tue 11 Sep 2007 03:00:25 PM UTCdforsiSeverity3 - Normal=>2 - Minor
      Item GroupNone=>minor malfunction
      StatusNone=>In Progress
    Sat 18 Aug 2007 07:44:20 PM UTCibrAttached File-=>Added .gnokiirc, #13705
    Sat 18 Aug 2007 07:27:07 PM UTCNoneAttached File-=>Added zzz1, #13704

    Back to the top


    Powered by Savane 3.1-cleanup1