Project

General

Profile

Feature #31372

Improve Facets registration

Added by Ondřej Ezr about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Facets are refreshing the relations every time another facet get registered. This can lead to redefinition of some relations.
Rails don't play well with that and it is not easy to read.


Related issues

Related to Foreman - Feature #31213: Add Hostgroup API views Facet extenstion pointsClosed

Associated revisions

Revision 213b9772 (diff)
Added by Ondřej Ezr 3 months ago

Fixes #31372 - improve facet relation hook (#8151)

This introduce more rigid relation registration.
Instead of refreshing the relations every time we register new facet.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8151 added

#2 Updated by Ondřej Ezr about 1 year ago

  • Related to Feature #31213: Add Hostgroup API views Facet extenstion points added

#3 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.1.0 added

#4 Updated by Ondřej Ezr 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF