[
https://issues.apache.org/jira/browse/ARTEMIS-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529500#comment-16529500
]
ASF GitHub Bot commented on ARTEMIS-1951:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2169
ARTEMIS-1951 Fix NPE on updateQueue with NULL user
The previous commits of ARTEMIS-1951 were using SimplreString::new that were
throwing NPE when the String parameter is null.
This fix is just using SimpleString::toSimpleString that won't throw NPE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis npe_user_update_q
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2169.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2169
----
commit f6a1938c6278a917a0c10a96643d9607478f92ee
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-07-02T07:18:39Z
ARTEMIS-1951 Fix NPE on updateQueue with NULL user
----
> Queue's user can't be updated
> -----------------------------
>
> Key: ARTEMIS-1951
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1951
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.7.0
>
>
> ARTEMIS-1569 added the ability to specify the queue's user via XML. However,
> the user set on the XML when the queue is first created can never be changed
> later.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)