[
https://issues.apache.org/jira/browse/ARTEMIS-3294?focusedWorklogId=599777&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-599777
]
ASF GitHub Bot logged work on ARTEMIS-3294:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 20/May/21 12:47
Start Date: 20/May/21 12:47
Worklog Time Spent: 10m
Work Description: brusdev commented on a change in pull request #3589:
URL: https://github.com/apache/activemq-artemis/pull/3589#discussion_r636069573
##########
File path:
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
##########
@@ -579,7 +579,8 @@ public void testTextMessageAttributeLimits() throws
Exception {
final String twentyBytes = new String(new char[20]).replace("\0", "#");
- ClientMessage clientMessage = createTextMessage(session, twentyBytes,
true);
Review comment:
I would use a nullable string to write the body of TEXT_TYPE core
messages to stay consistent with the JMS client. Maybe could be worth adding
some checks to enforce the body format.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 599777)
Time Spent: 1.5h (was: 1h 20m)
> Error browsing messages with a text body
> ----------------------------------------
>
> Key: ARTEMIS-3294
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3294
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> The web console returns the following error on browsing messages with a text
> body:
> {code:java}
> [hawtio-core] Operation browse(int, int, java.lang.String) failed due to:
> java.lang.IndexOutOfBoundsException : Error reading in simpleString,
> length=510918757 is greater than readableBytes=27
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)