Non-core contributed modules

postgres integer field defaults to a string in WEBWORK module

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.5.2
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    All
  • Database:
    PostgreSQL
  • Affected Branches:
    MOODLE_15_STABLE

Description

in the diff below, quiz_time is defined as an integer and should default to 0 not to '' (blank string) ... otherwise causes an error with postgresql during upgrade to moodle 1.5.2

there is no WEBWORK category so i am sticking this bug in administration

      • postgres7.sql 2005-08-04 18:09:52.000000000 -0700

— postgres7.sql.orig 2005-08-04 18:09:49.000000000 -0700

***************

      • 25,31 ****

timemodified integer NOT NULL default '0',

link_scoring varchar(255) NOT NULL default '',

link_forum varchar(255) NOT NULL default '',

! quiz_time integer NOT NULL default '0'

);

— 25,31 ----

timemodified integer NOT NULL default '0',

link_scoring varchar(255) NOT NULL default '',

link_forum varchar(255) NOT NULL default '',

! quiz_time integer NOT NULL default ''

);

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: