[jboss-jira] [JBoss JIRA] Updated: (AS7-1505) Incorrect time unit written out to JCA configuration

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Aug 10 08:24:33 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated AS7-1505:
------------------------------

       Assignee: Jesper Pedersen
    Environment: AS7 upstream (August 10 2011)
    Description: 
JCA generates the following timeunit (note the case) for keepalive-time element.

{code}
<keepalive-time time="10" unit="SECONDS"/>
{code}

This fails the xsd validation testcase:

{code}
testStandalonePreview(org.jboss.as.test.flat.xml.StandardConfigsXMLValidationUnitTestCase): cvc-enumeration-valid: Value 'SECONDS' is not facet-valid with respect to enumeration '[s, sec, seconds, m, min, minutes, ms, milliseconds, ns, nanoseconds, h, hours, d, days, w, weeks, mon, months]'. It must be a value from the enumeration.
{code}


  was:
JCA generates the following timeunit (note the case) for keepalive-time element.

<keepalive-time time="10" unit="SECONDS"/>

This fails the xsd validation testcase:

{code}
testStandalonePreview(org.jboss.as.test.flat.xml.StandardConfigsXMLValidationUnitTestCase): cvc-enumeration-valid: Value 'SECONDS' is not facet-valid with respect to enumeration '[s, sec, seconds, m, min, minutes, ms, milliseconds, ns, nanoseconds, h, hours, d, days, w, weeks, mon, months]'. It must be a value from the enumeration.
{code}


    Component/s: JCA


> Incorrect time unit written out to JCA configuration
> ----------------------------------------------------
>
>                 Key: AS7-1505
>                 URL: https://issues.jboss.org/browse/AS7-1505
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>         Environment: AS7 upstream (August 10 2011)
>            Reporter: jaikiran pai
>            Assignee: Jesper Pedersen
>
> JCA generates the following timeunit (note the case) for keepalive-time element.
> {code}
> <keepalive-time time="10" unit="SECONDS"/>
> {code}
> This fails the xsd validation testcase:
> {code}
> testStandalonePreview(org.jboss.as.test.flat.xml.StandardConfigsXMLValidationUnitTestCase): cvc-enumeration-valid: Value 'SECONDS' is not facet-valid with respect to enumeration '[s, sec, seconds, m, min, minutes, ms, milliseconds, ns, nanoseconds, h, hours, d, days, w, weeks, mon, months]'. It must be a value from the enumeration.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list