After enabling sub module package I have seen the following database exception once:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB/TEXT column 'patch_file_url' can't have a default value: CREATE TABLE {project_package_local_patch} ( `package_nid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Primary Key: The igs_intra_node.nid of the package release node.', `item_nid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The igs_intra_node.nid of a local release node item (from the same site) that was patched.', `patch_file_url` TEXT NOT NULL DEFAULT '' COMMENT 'The URL where a given patch file applied to a package can be found.', `patch_description_url` TEXT NULL DEFAULT NULL COMMENT 'The (optional) URL where a patch file applied to a package is described.', `patch_nid` INT unsigned NULL DEFAULT NULL COMMENT 'The (optional) igs_intra_node.nid of a node on this site that describes a patch file applied to a package.', `patch_comment_id` INT unsigned NULL DEFAULT NULL COMMENT 'The (optional) igs_intra_comment.cid of a comment on this site that describes a patch file applied to a package.', PRIMARY KEY (`package_nid`, `patch_file_url`(255)) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Keeps track of any patches that are applied to local items…'; Array ( ) in db_create_table() (Zeile 2688 von /var/www/html/cm7/includes/database/database.inc).
Is this a MySQL specific problem?
Comments
Comment #1
dwwproject_package hasn't been ported to D7 yet at all. See #1551374: Port project_package to D7
Comment #2
drummThis looks fixed now.