Return to Jive Software

This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4,137 Views 8 Replies Last post: Jul 25, 2009 4:49 PM by Jochem van Dieten RSS
Jochem van Dieten Novice 204 posts since
May 6, 2009
Currently Being Moderated

May 12, 2009 1:23 AM

Message body gets mangled when reponding by email

I have a problem with some content I am sending to a Jive community by email showing up mangled in the web interface and in the outgoing message notifications. The community is running the advancedemail plgin, but I have been told that is not relevant for this problem.

 

Here is the (sanitized) message I sent:

From: Jochem van Dieten <email>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: <community>
Subject: code block test
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sapien
mi, lobortis sed viverra eget, viverra quis leo. Fusce accumsan velit
non turpis sollicitudin ut lacinia elit vestibulum. Pellentesque
habitant morbi tristique senectus et netus et malesuada fames ac turpis
egestas. Etiam adipiscing justo et ipsum egestas id pulvinar tortor
lobortis.

private function foo(event:Event):bar {
    for (var i = 0; i < event.length; i++) {
        _foobar_ = _foobar_ *i* event[i];
    }
}

Suspendisse potenti. Ut ipsum elit, bibendum nec tempor et, ornare a
ligula. Proin sit amet turpis quis justo dictum hendrerit. Mauris
tincidunt nunc mauris. Mauris in ipsum justo. Vestibulum nec nisi libero.

Jochem


--
Jochem van Dieten
http://jochem.vandieten.net/

The third line of the code is altered by the system. Here is a screenshot of the way it showed in the web interface:

example.png

Is there any documentation available on these formatting codes and how we can send code fragments through email without the system changing the code?

Tags: clearspace, email, formatting
Will French Jive Employee 3,905 posts since
Nov 2, 2004
Currently Being Moderated
May 13, 2009 11:30 AM in response to: Jochem van Dieten
Re: Message body gets mangled when reponding by email

Hi,

 

I have investigated this, and it looks like we actually do run the code through a method which uses our older wiki syntax to convert the text into our format. I believe this is undocumented (still looking) but here is how to get around this:

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sapien
mi, lobortis sed viverra eget, viverra quis leo. Fusce accumsan velit
non turpis sollicitudin ut lacinia elit vestibulum. Pellentesque
habitant morbi tristique senectus et netus et malesuada fames ac turpis
egestas. Etiam adipiscing justo et ipsum egestas id pulvinar tortor
lobortis.

 

{code}
private function foo(event:Event):bar {
    for (var i = 0; i < event.length; i++) {
        _foobar_ = _foobar_ *i* event[i];
    }
}

{code}

 

Suspendisse potenti. Ut ipsum elit, bibendum nec tempor et, ornare a
ligula. Proin sit amet turpis quis justo dictum hendrerit. Mauris
tincidunt nunc mauris. Mauris in ipsum justo. Vestibulum nec nisi libero.

 

Jochem

 

And it will turn out like this, with the code unaltered:

 

http://content.screencast.com/users/klassikstile/folders/Jing/media/2e99eeda-359e-40a7-a1d5-2d1f067f74f2/import_w__code_macro.png

 

Hope that helps! I'll look into the documentation, and plans for this functionality in the future

Will French Jive Employee 3,905 posts since
Nov 2, 2004
Currently Being Moderated
May 13, 2009 12:24 PM in response to: Jochem van Dieten
Re: Message body gets mangled when reponding by email

Ah yes, missed that one, I will do some further testing and get back to you

Will French Jive Employee 3,905 posts since
Nov 2, 2004
Currently Being Moderated
May 18, 2009 5:41 PM in response to: Will French
Re: Message body gets mangled when reponding by email

I have logged this as a bug: CS-13412 and it will be fixed in a future patch release

Will French Jive Employee 3,905 posts since
Nov 2, 2004
Currently Being Moderated
May 19, 2009 8:04 AM in response to: Jochem van Dieten
Re: Message body gets mangled when reponding by email

We do not offer patches for our defects, but instead put out a series of patch releases which just contain bug fixes. In order to have this resolved, you will need to just install the patch release which includes this fix. It is currently scheduled for our July patch release.

More Like This

  • Retrieving data ...

Bookmarked By (0)