Ticket #584 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

After sync notes have extra trailing backslash '\' characters

Reported by: tuju Owned by: cstender
Priority: normal Milestone: Plugin Format: vformat 0.40
Component: Format Plugin: vformat Version: 0.33
Severity: normal Keywords: r2599
Cc:

Description

If kdepim+syncml-obex-client had note in contacts a string which had newlines, all those newlines got replaced with nl+backslash (which is probably also causing conflicts among other things). If there was only one line, that didn't get trailing backslash.

Started from ~400 contacts, now syncs fail at ~2000, I assume that phone doesn't like that too many changes caused by duplicates opensync generates itself and gives visible error on display when chocking up.

Change History

comment:1 Changed 4 years ago by tuju

uuuuh, "if contact had a note string with newlines, all those...." would make more sense.

comment:2 Changed 4 years ago by dgollub

  • Owner changed from dgollub to cstender
  • Component changed from OpenSync to Plugin: vformat

comment:3 Changed 4 years ago by cstender

  • Status changed from new to assigned

comment:4 Changed 4 years ago by cstender

Can you give me an example?

Did you mean something like this?:

cat Max_Mustermann2.vcf  | grep NOTE
NOTE:First line.\n\nSecond line.


vconvert Max_Mustermann2.vcf --to-xmlformat
...
  <Note>
    <Content>First line.

Second line.</Content>
  </Note>


vconvert Max_Mustermann2.vcf 
...
NOTE;ENCODING=QUOTED-PRINTABLE:First line.=0A=0ASecond line.

Maybe your bug was also fixed with rev 2749.

comment:5 Changed 4 years ago by tuju

I'll try to find time to have a look at recent snapshot at this weekend.

comment:6 Changed 4 years ago by cstender

Thanks.

comment:7 Changed 4 years ago by cstender

Any progress?

comment:8 Changed 4 years ago by cstender

  • Status changed from assigned to closed
  • Resolution set to worksforme

Closing this bug as worksforme because I cannot reproduce it. Feel free to reopen if you can provide more information.

Note: See TracTickets for help on using tickets.