You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/09 19:31:00 UTC

[jira] [Work logged] (ARTEMIS-3466) byte arrays are shown with negative hex numbers

     [ https://issues.apache.org/jira/browse/ARTEMIS-3466?focusedWorklogId=648833&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-648833 ]

ASF GitHub Bot logged work on ARTEMIS-3466:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Sep/21 19:30
            Start Date: 09/Sep/21 19:30
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request #3735:
URL: https://github.com/apache/activemq-artemis/pull/3735


   …onsole


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 648833)
    Remaining Estimate: 0h
            Time Spent: 10m

> byte arrays are shown with negative hex numbers
> -----------------------------------------------
>
>                 Key: ARTEMIS-3466
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3466
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.18.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>         Attachments: image-2021-09-09-15-50-18-014.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> add messages to a queue that are not text messages.
>  view one of those message by using "Browse queue" and then selecting "show" on an specific message.
>  the console will use a hex-dump to show the message content.
> in there, bytes with a value >= 128 are treated as negative numbers.
> but byte arrays are typically represented as unsigned numbers, and the comment "hex and must be 2 digit so they space out evenly" in `browse,js` also seems to indicate that that was intended.
>  
> !image-2021-09-09-15-50-18-014.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)