6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/7/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14053] HTML body treated differently for new and updated notes with ActiveSync
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . ..__ .__..__ [__)|_/ [__)[__][__) [__)| \| \| ||
Comment
> If one creates a new note via ActiveSync, in function import of > lib/Api.php the HTML is denoted to plain text via: > > case 'activesync': > // We only support plaintext > if ($content->body->type == > Horde_ActiveSync::BODYPREF_TYPE_HTML) { > $body = > Horde_Text_Filter::filter($content->body->data, 'Html2text'); > } else { > $body = $content->body->data; > } > > However, there is no such check in function replace() some lines below. > > There is at least one way to produce the error: > > 1) create a new note on the ActiveSync device. It is denoted to plain > text in the GUI, but remains unchanged on the device. > 2) change the note on the device, Its body is sync'ed as HTML to Mnemo. > > So the handling is inconsitent. > > ==== > > I don't know, if changed / converted notes should be flagged as > changed and are sync'ed back to the device immediately, in order to > reflect the changes. Now the user works with the original note on the > device (incl. long subject and fancy HTML), but Horde keeps a > possibly shortened subject and denoted body. The reference to > "subject" applies to bug #14041. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers