Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Merge requests
  • !116

Merged
Created Nov 13, 2017 by Administrator@rootMaintainer

4962 when workbench import is deleted also delete associated referential if ready false

  • Overview 5
  • Commits 3
  • Changes 2

Created by: teddywing

When destroying a WorkbenchImport, if its associated NetexImports have an associated Referential with field ready: false, that Referential should be destroyed.

This is set up with a before_destroy callback directly on NetexImport.

We need to get rid of the non-ready Referentials because we can get into a situation where there's an error on the Referential, but since it has ready: false, it doesn't get displayed on the website, and thus the user has no clue what the problem is. Worse, these Referentials will cause subsequent re-imports to fail.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: 4962-when-WorkbenchImport-is-deleted-also-delete-associated-Referential-if-ready-false