Skip to content
Snippets Groups Projects

Fix DB error when trying to tag a repository

Merged Stan Hu requested to merge stanhu/gitlab-ce:fix-project-tags into master

Steps to reproduce: Go to a project settings, add tags, click on save changes

Observed behavior: Error 500

    PG::Error: ERROR:  column "taggings_count" does not exist
        LINE 1: UPDATE "tags" SET "taggings_count" = COALESCE("taggings_coun...

Ran rake acts_as_taggable_on_engine:install:migrations, removed the first migration that created the tags and taggings table, and added the rest.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • One minor thing to fix. Otherwise, looks good! :thumbsup:

  • Stan Hu Added 1 commit:

    Added 1 commit:

    • d62c1f54 - Update for RSpec 3
  • Stan Hu Added 1 commit:

    Added 1 commit:

    • c1ab9254 - Fix DB error when trying to tag a repository
  • Author Maintainer

    @rspeicher Thanks for the review. Updated the MR for RSpec 3.

  • Stan Hu Added 63 commits:

    Added 63 commits:

    • c1ab9254...278c3ba4 - 62 commits from branch gitlab-org:master
    • 44afcd20 - Fix DB error when trying to tag a repository
  • Author Maintainer

    @DouweM Can you review this one? Looks like this issue affects even deleting repositories.

  • Stan Hu mentioned in issue #1550 (closed)

    mentioned in issue #1550 (closed)

  • Douwe Maan
    Douwe Maan @DouweM started a thread on the diff
  • Douwe Maan Status changed to merged

    Status changed to merged

  • Douwe Maan mentioned in commit 2f4426b7

    mentioned in commit 2f4426b7

  • Douwe Maan mentioned in commit 81634bc1

    mentioned in commit 81634bc1

  • Please register or sign in to reply
    Loading