Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
base: 1b79a041ad2c
Choose a base ref
...
head repository: mantisbt/mantisbt
compare: ef24c0f36b8b
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 27, 2012

  1. Fix PostgreSQL error when adding project/subproject

    Release 1.2.11 (see commit b8d4b50 and
    issue #14288) introduced a regression preventing the user from creating
    a new project or adding a subproject.
    
    The error is caused by columns mantis_project_table.inherit_global and
    mantis_project_hierarchy_table.inherit_parent, which are defined as
    unsigned int in schema.php, but treated as boolean in the code. This is
    a problem with PostgreSQL due to strict type checking, but not on MySQL
    as type cast is done automatically.
    
    This commit is a workaround for the problem (sending an int to the DB
    instead of a bool if using PostgreSQL), as fixing the root cause would
    require a schema change which is not possible in 1.2.x.
    
    Fixes #14385
    dregad committed Jun 27, 2012
    Copy the full SHA
    ba71cf9 View commit details
    Browse the repository at this point in the history
  2. Fix PostgreSQL error when updating a project

    Release 1.2.11 (see commit b8d4b50 and
    issue #14288) introduced a regression preventing the user from updating
    an existing project.
    
    This commit is a workaround for the problem (sending an int to the DB
    instead of a bool if using PostgreSQL), as fixing the root cause would
    require a schema change which is not possible in 1.2.x.
    
    Fixes #14385
    dregad committed Jun 27, 2012
    Copy the full SHA
    ef24c0f View commit details
    Browse the repository at this point in the history