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

Crowd creates NULL DB values for any blank text box in a directory configuration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.9.1
    • 2.5, 2.6, 2.7.2
    • Database

      summary:

      After installing Crowd with Oracle DB, and leaving the description field empty for the internal directory, try to run this query in the Crowd Database:

      select * from cwd_directory where description is null;
      

      You will obtain at least 1 row. You can even try creating a directory with null description, or null User DN, and you will find that the values kept in the cwd_directory and cwd_directory_attribute tables are stored as NULL. This is the root cause of this issue: https://jira.atlassian.com/browse/CWD-3217

      workaround:

      https://confluence.atlassian.com/display/CROWDKB/Can't+Create+XML+backup+due+to+NULL+directory+description

          Form Name

            [CWD-3216] Crowd creates NULL DB values for any blank text box in a directory configuration

            This should no longer cause backups to fail in 2.9.0.

            Lukasz Pater added a comment - This should no longer cause backups to fail in 2.9.0.

            Caspar Krieger (Inactive) added a comment - Encountered again by shaakunthala1 in https://answers.atlassian.com/questions/263550/crowd-xml-backup-failed-with-npe

            What a weird bug

            Félix Martineau [Expert] added a comment - What a weird bug

            This seems silly that it isn't fixed yet.

            Daniel Hopper added a comment - This seems silly that it isn't fixed yet.

              lpater Lukasz Pater
              fsim Foo Sim (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: