[
https://issues.apache.org/jira/browse/QPID-7382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15451962#comment-15451962
]
Keith Wall commented on QPID-7382:
----------------------------------
The agreed approach is that the ability to preview message content which is
flagged with a text mime type should be retained. To do this we will:
* Add a new optional parameter to the {{#getMessageContent}} operation that
limits the number of bytes returned.
* A download link for the message content will always be available even for
text mime types.
* If the mime type is text, a small leading portion of the message content will
be displayed in a scrollable preview area.
The change will be ported to 6.0.5 too.
> Message dialogue tries to inline the text of a text message content
> regardless of the its length
> ------------------------------------------------------------------------------------------------
>
> Key: QPID-7382
> URL: https://issues.apache.org/jira/browse/QPID-7382
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.30, 0.32, qpid-java-6.0
> Reporter: Keith Wall
> Fix For: qpid-java-6.1, qpid-java-6.0.5
>
>
> When viewing a message through the WMC, if the message's mime type indicates
> that the content it text, the message dialogue tries to inline the content,
> properly escaping the content first. If the content is very large, this
> approach is problematic and can cause formatting problems with buttons out of
> reach, or at worst an unresponsive or crashed client side UI.
> The WMC should display the leading portion of a long text message using
> ellipses and offer a download button to retrieve the full text content.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]