Project

General

Profile

Actions

Refactor #28890

open

Remove orgId() and consume org data from Foreman

Added by Jeremy Lenz almost 5 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
-
Branch:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In webpack/services/api/index.js, a function called orgId() gets the current organization from a DOM attribute. Need to stop doing this and consume the data from a place that makes more sense.

Once https://github.com/theforeman/foreman/pull/7139 is merged, Katello could consume the org data from React context and have a single reliable source of truth for this data.

Alternatively, see also issue #28809 which suggests we move the Organization part of Katello's Redux store to Foreman.


Related issues 1 (1 open0 closed)

Related to Katello - Refactor #28809: Move react organizations handling to foremanNewActions
Actions #1

Updated by John Mitsch almost 5 years ago

  • Assignee deleted (Thomas McKay)
Actions #2

Updated by John Mitsch almost 5 years ago

  • Assignee set to Jeremy Lenz
  • Target version set to Katello Backlog
  • Triaged changed from No to Yes
Actions #3

Updated by Jeremy Lenz almost 5 years ago

  • Parent task deleted (#28809)
Actions #4

Updated by Jeremy Lenz almost 5 years ago

  • Related to Refactor #28809: Move react organizations handling to foreman added
Actions #5

Updated by Ian Ballou 4 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF