Inconsistencies in Profile2 column NULL settings and default values after applying Sakai 2.8.0 Oracle conversion scripts

Description

When comparing a fresh auto-ddl'd 2.8 rc01 database against an upgraded 2.7.1 database, the following inconsistencies were found:

– PROFILE_PREFERENCES_T.EMAIL_MESSAGE_NEW
2.8 auto.ddl: not nullable, default NULL
2.7.1 converted: nullable, default "0"

– PROFILE_PREFERENCES_T.EMAIL_MESSAGE_REPLY
2.8 auto.ddl: not nullable, default NULL
2.7.1 converted: nullable, default "0"

– PROFILE_PREFERENCES_T.SHOW_GALLERY_FEED
2.8 auto.ddl: not nullable, default NULL
2.7.1 converted: nullable, default "1"

– PROFILE_PREFERENCES_T.SHOW_KUDOS
2.8 auto.ddl: not nullable, default NULL
2.7.1 converted: nullable, default "1"

– PROFILE_PREFERENCES_T.USE_OFFICIAL_IMAGE
2.8 auto.ddl: not nullable, default NULL
2.7.1 converted: nullable, default "0"

– PROFILE_PRIVACY_T.BUSINESS_INFO
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.MESSAGES
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.MY_KUDOS
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.MY_PICTURES
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.SOCIAL_NETWORKING_INFO
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.STAFF_INFO
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

– PROFILE_PRIVACY_T.STUDENT_INFO
2.8 auto.ddl: NUMBER(10,0), not nullable, default NULL
2.7.1 converted: NUMBER(1,0), nullable, default "0"

Attachments

1

is depended on by

Activity

Show:

Hudson CI Server March 17, 2011 at 10:14 PM

Integrated in sakai trunk #467 (See http://builds.sakaiproject.org:8080/job/sakai%20trunk/467/)
adjust order of statements to correct Oracle syntax

Seth Theriault March 17, 2011 at 6:33 AM

Patch commited to trunk, r89916 and verified on local instance.
Merged to 2.8.x, r89918.

Hudson CI Server March 17, 2011 at 3:12 AM

Integrated in profile2 trunk (build and deploy) #414 (See http://builds.sakaiproject.org:8080/job/profile2%20trunk%20(build%20and%20deploy)/414/)
adjust sql that adds defaults, order of the statements was incorrect for oracle

Steve Swinsburg March 17, 2011 at 2:45 AM

1.4.x r89906

Steve Swinsburg March 17, 2011 at 2:44 AM

r89905

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Conversion Script Required

Yes

Environment

Oracle 9i
Created February 24, 2011 at 5:31 PM
Updated July 15, 2014 at 7:12 AM
Resolved March 17, 2011 at 2:44 AM