Project

General

Profile

Actions

Bug #25657

open

Data type is already registerd, cannot be re-registered

Added by Ewoud Kohl van Wijngaarden over 5 years ago. Updated over 5 years ago.

Status:
Ready For Testing
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Sometimes the error message ArgumentError: Data type Puppetdb::Ttl is already registered, cannot be re-registered (for some data type) shows up.

It turns out that all data types are in a global registry. When Kafo::Configure is loaded initialized, it reads the data types. This is done when the scenario has changed. That's correct, but it should clear the global registry to avoid stale entries and potential duplicates.


Related issues 1 (1 open0 closed)

Related to Installer - Bug #35807: register_type exception trying to reinstall with new scenarioNewActions
Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/kafo/pull/230 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Related to Bug #35807: register_type exception trying to reinstall with new scenario added
Actions

Also available in: Atom PDF