uDIG
  1. uDIG
  2. UDIG-1880

Some connection parameters cannot be cast (Serializable)

    Details

      Description

      Some GeoServer connection parameters cannot be cast to (Serializable) this causes validation issues in DataStoreParameterPage sync() method and blocks the pace from finishing.

        Activity

        Hide
        Levi Putna added a comment -
        This pull request will fix the issue. https://github.com/uDig/udig-platform/pull/97
        Show
        Levi Putna added a comment - This pull request will fix the issue. https://github.com/uDig/udig-platform/pull/97
        Hide
        Jody Garnett added a comment -
        I helped review this fix - it amounted to:

        if( value instanceof Serializable) {
           params.put( param.key, value );
        }
        else {
           String txt = param.text( value ); // geotools Param object has helper method for this issue on case by case basis
           params.put( param.key, txt );
        }
        Show
        Jody Garnett added a comment - I helped review this fix - it amounted to: if( value instanceof Serializable) {    params.put( param.key, value ); } else {    String txt = param.text( value ); // geotools Param object has helper method for this issue on case by case basis    params.put( param.key, txt ); }
        Jody Garnett made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Levi Putna
            Reporter:
            Levi Putna
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: