Bug 1087608 - (6.4.0) management console - empty value for database transaction isolation in the JBoss EAP 6.2
Summary: (6.4.0) management console - empty value for database transaction isolation i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Console
Version: 6.2.2
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: DR11
: EAP 6.4.0
Assignee: Harald Pehl
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On:
Blocks: 1144083
TreeView+ depends on / blocked
 
Reported: 2014-04-14 19:23 UTC by Leticia Konno
Modified: 2019-08-19 12:42 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HAL-393 0 Major Resolved Empty value for database transaction isolation 2016-02-25 11:27:20 UTC

Description Leticia Konno 2014-04-14 19:23:26 UTC
Description of problem:

There is an empty value in the dropdown box of Transaction Isolation field of a datasource. However, it already has TRANSACTION_NONE option.

Version-Release number of selected component (if applicable):

JBoss EAP 6.2.2

How reproducible:

1) Create a datasource in JBoss EAP 6.2.2
2) Select the datasource, disable it.
3) Go to "Connection" tab and click the Edit button.
4) For the field "Transaction isolation", select "TRANSACTION_READ_COMMITTED". Now again select the empty value. Click the save button. Now the dropdown box becomes red and says missing selection message.

Actual results:
management console shows a error saying that is a missing selection

Expected results:
no blanck option as the dropbox alredy has the TRANSACTION_NONE option.

Comment 3 Harald Pehl 2014-04-17 14:38:38 UTC
The empty value in the drop down box means "undefined". According to the management model the transaction attribute is defined as 

"transaction-isolation" => {
    "type" => STRING,
    "description" => "Set the java.sql.Connection transaction isolation level. Valid values are: TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE and TRANSACTION_NONE",
    "expressions-allowed" => true,
    "nillable" => true,
    "min-length" => 1L,
    "max-length" => 2147483647L,
    "access-type" => "read-write",
    "storage" => "configuration",
    "restart-required" => "no-services"
}

Given that definition the transaction attribute can be undefined. IMHO there should be a default value specified in the model though. 

The error message which is raised when there was a value and you want to change back to an empty value is a bug.

Comment 4 JBoss JIRA Server 2014-07-01 08:08:33 UTC
Harald Pehl <hpehl> updated the status of jira HAL-393 to Coding In Progress

Comment 5 JBoss JIRA Server 2014-07-01 08:32:22 UTC
Harald Pehl <hpehl> updated the status of jira HAL-393 to Resolved

Comment 7 Harald Pehl 2014-09-23 07:37:23 UTC
Fixed by HAL 2.4.0.Final BZ1144083. Setting to MODIFIED. No plans yet to include this in EAP 6.3 CP.

Comment 8 Pavel Jelinek 2014-11-26 12:35:18 UTC
Verified for HAL 2.4.8.Final-redhat-1 in EAP 6.4.0.DR11


Note You need to log in before you can comment on or make changes to this bug.