mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[PR #435] [MERGED] Don't use duplicate relations when eager-loading access list items and clients. #3246
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/435
Author: @Subv
Created: 5/30/2020
Status: ✅ Merged
Merged: 6/2/2020
Merged by: @jc21
Base:
develop← Head:access_lists_ips📝 Commits (2)
546f862Merge pull request #429 from jc21/developd95861eDon't use duplicate relations when eager-loading access list items and clients.📊 Changes
2 files changed (+6 additions, -6 deletions)
View changed files
📝
backend/internal/access-list.js(+3 -3)📝
backend/internal/proxy-host.js(+3 -3)📄 Description
This fixes an Objection warning:
Duplicate relation "proxy_hosts" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0.It also fixes the access list clients not being properly eager-loaded when building the proxy host nginx configuration files, resulting in no IP access lists being printed into the file.
Closes #434
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.