Bug 1022182 - Default value for access log prefix differs in schema and CLI
Summary: Default value for access log prefix differs in schema and CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER10
: EAP 6.3.0
Assignee: Rémy Maucherat
QA Contact: Radim Hatlapatka
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 16:12 UTC by Jan Blizňák
Modified: 2014-08-05 11:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-05 11:38:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Blizňák 2013-10-22 16:12:36 UTC
Description of problem:
In docs/schema/jboss-as-web_1_4.xsd there is defined attribute "prefix" of access log type as:

<xs:attribute name="prefix" default="access_log." />

whereas in CLI the command /subsystem=web/virtual-server=default-host/access-log=configuration:read-resource-description outputs:

 "prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => false,
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

How reproducible:
Always

Actual results:
Default values differs. The value from CLI is reproduced as string "false" and used for prefixing access log files.

Expected results:
Default values are synchronized.

Comment 1 Martin Velas 2014-08-05 11:38:18 UTC
For EAP 6.3.0.ER10 both the XSD document and the CLI present the same default value for the prefix attribude: 

<xs:attribute name="prefix" default="access_log." />

and

"prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => "access_log.",
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

So this issue reported against older version, cannot be reproduced against latest 6.3.0.ER10 bits, which means it was fixed earlier. Therefore, we are closing this bug. Thank you for reporting this issue.


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