Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • beat.web beat.web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beatbeat
  • beat.webbeat.web
  • Issues
  • #336
Closed
Open
Issue created Nov 19, 2015 by André Anjos@andre.anjos💬Owner

[activities] Cannot restore activities

As of today, the restore of actions from the app actstream is broken. The reason is our backup/restore functionality depends on apps fixture dumping using natural keys instead of database identifiers. We cannot guarantee that the restored objects will have exactly the same PKs all the time.

The app actstream does not use natural keys for fields such as actor_object_id, and target_object_id so, when restoring, it relies on the exact usage of a given PK and it gets lost. This may cause degradation on the admin page:

image

Or more severe errors on the front page:

image

@samuel.gaist: Suggestions on how to proceed?

Assignee
Assign to
Time tracking