glassfish
  1. glassfish
  2. GLASSFISH-13473

Connectors: no validation for name field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms07
    • Component/s: jca
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      build: glassfish-3.1-b20-09_13_2010.zip

      Currently there is no validation done on the name field for connector connection
      pool and thus I can create a pool with name -wow-. When I try it on v2.1.1 I
      get the following error:

      An error has occurred
      ADMVAL1047: Value '-wow-' is not valid for attribute 'name' of connector
      connection pool. The value must start with a letter or number and may contain
      letters, numbers or the following characters: -._/;# ADMVAL1070: Create of
      connector connection pool is rejected.

        Activity

        Hide
        sumasri added a comment -

        Added the target milestone.

        Show
        sumasri added a comment - Added the target milestone.
        Hide
        sumasri added a comment -

        In v2, Error is coming from the backend.
        So, transferring it to backend team to evaluate. This is the same case for JDBC
        pools also.

        Show
        sumasri added a comment - In v2, Error is coming from the backend. So, transferring it to backend team to evaluate. This is the same case for JDBC pools also.
        Hide
        Jagadish added a comment -

        It looks like "name" field validation is introduced differently in v3 when
        compared to v2 for jdbc and connector connection pool.

        Fixed the "name" field validation to be same as that of v2 for the following
        resource types.

        jdbc-connection-pool
        connector-connection-pool
        resource-adapter-config
        security-map.

        FIX INFORMATION :
        svn log -v -r 13473
        Fix will be available in 3.1 promoted build 31 / 22nd Nov 2010 nightly.

        Show
        Jagadish added a comment - It looks like "name" field validation is introduced differently in v3 when compared to v2 for jdbc and connector connection pool. Fixed the "name" field validation to be same as that of v2 for the following resource types. jdbc-connection-pool connector-connection-pool resource-adapter-config security-map. FIX INFORMATION : svn log -v -r 13473 Fix will be available in 3.1 promoted build 31 / 22nd Nov 2010 nightly.
        Hide
        lidiam added a comment -

        Verified in promoted build b43.

        Show
        lidiam added a comment - Verified in promoted build b43.

          People

          • Assignee:
            Jagadish
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: