Skip to content

Conversation

@bctiemann
Copy link
Contributor

@bctiemann bctiemann commented Jan 8, 2025

Fixes: #18350

As CircuitTermination has been refactored to move the fields site and provider_network to the new scoping model, this change uses the new internal (cached) versions of those fields in the displayed attributes in search results, resolving a crash condition.

@tyler-8
Copy link
Contributor

tyler-8 commented Jan 8, 2025

IMO this should also display the scoping data that replaces the site and provider_network fields, not just stop the crash.

@jeremystretch jeremystretch merged commit c3efa21 into main Jan 17, 2025
6 checks passed
@jeremystretch jeremystretch deleted the 18350-remove-scoping-fields-on-CircuitTerminationIndex branch January 17, 2025 13:28
bctiemann added a commit that referenced this pull request Jan 28, 2025
…inationIndex.display_attrs (#18351)

* Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs

* Use '_site' and '_provider_network' in display_attrs

* Replace private fields with 'termination'
bctiemann added a commit that referenced this pull request Jan 29, 2025
…inationIndex.display_attrs (#18351)

* Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs

* Use '_site' and '_provider_network' in display_attrs

* Replace private fields with 'termination'
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global search which matches CircuitTermination results in "CircuitTermination has no field named 'site'"

4 participants