Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5358

During db schema creation on 3.3 all tables will be created in varchar

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.5.0, 3.4.3
    • 3.3.2
    • None
    • None

      Note regarding fix

      This issue has been fixed in Crowd 3.4.3 as well as 3.5.0. However those Crowd versions will only set the correct column types on newly created columns. If upgrading from an affected version (3.3.0-3.4.0) it's important to check for varchar, clob and text columns in the database and manually change them to the appropriate types.

      Issue Summary

      Prior to 3.3, customers could use our custom SQLServerIntlDialect and tables would be created as nvarchar, instead of MS SQL default varchar.
      Starting with Crowd 3.,3 db schema creation process is using liquibase, as a result, the dialect is not respected anymore and tables being created as varchar or converted to varchar during an upgrade.

      Environment

      Crowd 3.3
      Ms SQL

      Expected results

      When using SQLServerIntlDialect dialect, tables are created with nvarchar columns allowing them to store Unicode characters.

      Actual Results

      Tables are created with MSSQL default varchar
      During an upgrade from earlier versions, if columns were nvarchar, the upgrade will convert them to varchar replacing Unicode characters already stored in the tables in the process.

      Workaround

      There is no workaround to prevent this, but columns can be manually changed to nvarchar after the upgrade/installation.

            [CWD-5358] During db schema creation on 3.3 all tables will be created in varchar

            Daniel Serkowski made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 431295 ]
            Esteban Casuscelli made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 630369 ]
            Esteban Casuscelli made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 630369 ]
            Esteban Casuscelli made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 630258 ]
            Monique Khairuliana (Inactive) made changes -
            Epic Link Original: CWD-4704 [ 600140 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 3097688 ] New: JAC Bug Workflow v3 [ 3366046 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Patryk made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 432508 ]
            Patryk made changes -
            Description Original: h3. Note regarding fix
            This issue has been fixed in Crowd 3.4.3 as well as 3.5.0. However those Crowd versions will only set the correct column types on newly created columns. If upgrading from an affected version (3.3.0-3.4.2) it's important to check for varchar, clob and text columns in the database and *manually change them to the appropriate types.*

            h3. Issue Summary
            Prior to 3.3, customers could use our custom *SQLServerIntlDialect* and tables would be created as *nvarchar*, instead of MS SQL default *varchar*.
            Starting with Crowd 3.,3 db schema creation process is using liquibase, as a result, the dialect is not respected anymore and tables being created as varchar or converted to varchar during an upgrade.

            h3. Environment
            Crowd 3.3
            Ms SQL

            h3. Expected results
            When using *SQLServerIntlDialect* dialect, tables are created with nvarchar columns allowing them to store Unicode characters.

            h3. Actual Results
            Tables are created with MSSQL default varchar
            During an upgrade from earlier versions, if columns were nvarchar, the upgrade will convert them to varchar replacing Unicode characters already stored in the tables in the process.

            h3. Workaround
            There is no workaround to prevent this, but columns can be manually changed to nvarchar after the upgrade/installation.
            New: h3. Note regarding fix

            This issue has been fixed in Crowd 3.4.3 as well as 3.5.0. However those Crowd versions will only set the correct column types on newly created columns. If upgrading from an affected version (3.3.0-3.4.0) it's important to check for varchar, clob and text columns in the database and *manually change them to the appropriate types.*
            h3. Issue Summary

            Prior to 3.3, customers could use our custom *SQLServerIntlDialect* and tables would be created as *nvarchar*, instead of MS SQL default *varchar*.
             Starting with Crowd 3.,3 db schema creation process is using liquibase, as a result, the dialect is not respected anymore and tables being created as varchar or converted to varchar during an upgrade.
            h3. Environment

            Crowd 3.3
             Ms SQL
            h3. Expected results

            When using *SQLServerIntlDialect* dialect, tables are created with nvarchar columns allowing them to store Unicode characters.
            h3. Actual Results

            Tables are created with MSSQL default varchar
             During an upgrade from earlier versions, if columns were nvarchar, the upgrade will convert them to varchar replacing Unicode characters already stored in the tables in the process.
            h3. Workaround

            There is no workaround to prevent this, but columns can be manually changed to nvarchar after the upgrade/installation.
            Patryk made changes -
            Description Original: h3. Issue Summary
            Prior to 3.3, customers could use our custom *SQLServerIntlDialect* and tables would be created as *nvarchar*, instead of MS SQL default *varchar*.
            Starting with Crowd 3.,3 db schema creation process is using liquibase, as a result, the dialect is not respected anymore and tables being created as varchar or converted to varchar during an upgrade.

            h3. Environment
            Crowd 3.3
            Ms SQL

            h3. Expected results
            When using *SQLServerIntlDialect* dialect, tables are created with nvarchar columns allowing them to store Unicode characters.

            h3. Actual Results
            Tables are created with MSSQL default varchar
            During an upgrade from earlier versions, if columns were nvarchar, the upgrade will convert them to varchar replacing Unicode characters already stored in the tables in the process.

            h3. Workaround
            There is no workaround to prevent this, but columns can be manually changed to nvarchar after the upgrade/installation.
            New: h3. Note regarding fix
            This issue has been fixed in Crowd 3.4.3 as well as 3.5.0. However those Crowd versions will only set the correct column types on newly created columns. If upgrading from an affected version (3.3.0-3.4.2) it's important to check for varchar, clob and text columns in the database and *manually change them to the appropriate types.*

            h3. Issue Summary
            Prior to 3.3, customers could use our custom *SQLServerIntlDialect* and tables would be created as *nvarchar*, instead of MS SQL default *varchar*.
            Starting with Crowd 3.,3 db schema creation process is using liquibase, as a result, the dialect is not respected anymore and tables being created as varchar or converted to varchar during an upgrade.

            h3. Environment
            Crowd 3.3
            Ms SQL

            h3. Expected results
            When using *SQLServerIntlDialect* dialect, tables are created with nvarchar columns allowing them to store Unicode characters.

            h3. Actual Results
            Tables are created with MSSQL default varchar
            During an upgrade from earlier versions, if columns were nvarchar, the upgrade will convert them to varchar replacing Unicode characters already stored in the tables in the process.

            h3. Workaround
            There is no workaround to prevent this, but columns can be manually changed to nvarchar after the upgrade/installation.
            Gaurav Agarwal (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 431295 ]

              ppetrowski Patryk
              imuzaliov Igor M.
              Affected customers:
              3 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: