ASF Bugzilla – Attachment 33598 Details for
Bug 59075
JMS Publisher: NumberFormatException is thrown is priority or expiration fields are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add default value to mandatory fields
JMSDefaultProperty.patch (text/plain), 877 bytes, created by
mchassagneux
on 2016-02-26 11:35:43 UTC
(
hide
)
Description:
Add default value to mandatory fields
Filename:
MIME Type:
Creator:
mchassagneux
Created:
2016-02-26 11:35:43 UTC
Size:
877 bytes
patch
obsolete
>diff --git a/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java b/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java >index f89c825..9c862e3 100644 >--- a/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java >+++ b/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java > urlField.setText(""); // $NON-NLS-1$ > jndiConnFac.setText(""); // $NON-NLS-1$ > jmsDestination.setText(""); // $NON-NLS-1$ >- expiration.setText(""); // $NON-NLS-1$ >- priority.setText(""); // $NON-NLS-1$ >+ expiration.setText("0"); // $NON-NLS-1$ >+ priority.setText("4"); // $NON-NLS-1$ > jmsUser.setText(""); // $NON-NLS-1$ > jmsPwd.setText(""); // $NON-NLS-1$ > textMessage.setInitialText(""); // $NON-NLS-1$
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59075
: 33598 |
33612
|
33613