Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all users associated with a Pods custom taxonomy are showing up in the taxonomy page in the WP Dashboard #7362

Open
nelsonamaya82 opened this issue Oct 5, 2024 · 3 comments
Assignees
Milestone

Comments

@nelsonamaya82
Copy link

nelsonamaya82 commented Oct 5, 2024

Description

I created a custom taxonomy in Pods called "Graduation Years". Then I'm assigning my users to different terms of this taxonomy (e.g. 1900, 1940, 1941, etc.).

When I list my users in the frontend categorized by Graduation Year, everything works fine, I can see all of them.

However, when I go to the WP Dashboard and enter the Graduation Year taxonomy page, then click on a term, I only see some but not all of the users associated with this term.

For example, when I go to the Users page in the WP Dashboard, I see there are 5 users in the 1941 Graduation Year:

Image

However when I enter the 1941 term, I only see 3 users:

Image

I compared these users information/configuration and all of them have exactly the same configuration, same role, etc. No differences between them except for their individual data like email, name, etc.

It's important to note that it happens with all the terms, not only the "1941" in the example above.

Version

3.2.7

Testing Instructions

No response

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

### wp-core ###

version: 6.6.2
site_language: en_US
user_language: en_US
timezone: America/New_York
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 3428
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /app
wordpress_size: loading...
uploads_path: /app/wp-content/uploads
uploads_size: loading...
themes_path: /app/wp-content/themes
themes_size: loading...
plugins_path: /app/wp-content/plugins
plugins_size: loading...
fonts_path: /app/wp-content/uploads/fonts
fonts_size: loading...
database_size: loading...
total_size: loading...

### wp-active-theme ###

name: Jevelin Child (jevelin-child)
version: undefined
author: Shufflehound
author_website: http://shufflehound.com
parent_theme: Jevelin (jevelin)
theme_features: core-block-patterns, widgets-block-editor, woocommerce, widgets, menus, automatic-feed-links, post-thumbnails, title-tag, html5, post-formats, custom-background
theme_path: /app/wp-content/themes/jevelin-child
auto_update: Disabled

### wp-parent-theme ###

name: Jevelin (jevelin)
version: 3.2.4
author: Shufflehound
author_website: http://shufflehound.com/
theme_path: /app/wp-content/themes/jevelin
auto_update: Disabled

### wp-themes-inactive (1) ###

Genesis Block Theme: version: 1.0.0, author: StudioPress, Auto-updates disabled

### wp-plugins-active (35) ###

Advanced Custom Fields PRO: version: 6.2.0, author: WP Engine (latest version: 6.3.7), Auto-updates disabled
Common Affinity Albums: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Auth Actions: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Custom Widgets: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Debug Posts View: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Event List: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Filters: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Groups: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Mailing List: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Media Library: author: (undefined), version: 0.1, Auto-updates disabled
Common Affinity Members: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Notifications: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Personalize Login: version: 1.0.0, author: Common Affinity, from tutorial by Jarkko Laine, Auto-updates disabled
Common Affinity Posts: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Recover Username: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Registrar Directory: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Report Content: version: 1.0.2, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Roles: author: (undefined), version: 1.0.0, Auto-updates disabled
Common Affinity Should Post Show: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Tags: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity User Switching: version: 1.0, author: Bentley & Hoke, Auto-updates disabled
Common Affinity Visibility Rules: author: (undefined), version: 1.0.0, Auto-updates disabled
Export Import Menus: version: 1.9.0, author: Akshay Menariya (latest version: 1.9.1), Auto-updates disabled
FormSync: version: 0.7.0, author: Ren Ventura, Auto-updates disabled
Gravity Forms: version: 2.8.16, author: Gravity Forms (latest version: 2.8.18), Auto-updates enabled
Gravity Forms Advanced Post Creation Add-On: version: 1.4.0, author: Gravity Forms, Auto-updates disabled
Gravity Forms User Registration Add-On: version: 5.3.0, author: Gravity Forms, Auto-updates disabled
Image Select for Gravity Forms: version: 0.1.1, author: Evo Stamatov, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 3.2.7, author: Pods Framework Team, Auto-updates disabled
Redirection: version: 5.5.0, author: John Godley, Auto-updates disabled
Stream: version: 3.9.3, author: XWP (latest version: 4.0.2), Auto-updates disabled
Unyson: version: 2.7.31, author: ThemeFuse, Auto-updates disabled
WordPress Importer: version: 0.8.1, author: wordpressdotorg (latest version: 0.8.2), Auto-updates disabled
WP Import Export Lite: version: 3.9.25, author: VJInfotech (latest version: 3.9.27), Auto-updates disabled
WP Mail SMTP Pro: version: 3.3.0, author: WPForms, Auto-updates disabled

### wp-plugins-inactive (7) ###

Error Log Monitor: version: 1.7.7, author: Janis Elsts (latest version: 1.7.8), Auto-updates disabled
Genesis Blocks: version: 3.0.0, author: StudioPress (latest version: 3.1.5), Auto-updates disabled
NS Cloner - Site Copier: version: 4.3.2, author: Never Settle (latest version: 4.4.7.2), Auto-updates disabled
NS Cloner Pro: version: 4.2.0, author: Never Settle, Auto-updates disabled
Open Graph and Twitter Card Tags: version: 3.3.1, author: WPExperts (latest version: 3.3.3), Auto-updates disabled
Really Simple SSL: version: 7.0.8, author: Really Simple Plugins (latest version: 9.0.2), Auto-updates disabled
WP Crontrol: version: 1.15.3, author: John Blackbourn & crontributors (latest version: 1.17.0), Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 100M
upload_max_filesize: 100M
max_effective_size: 100 MB
max_file_uploads: 20
imagick_limits: 
	imagick::RESOURCETYPE_AREA: 122 MB
	imagick::RESOURCETYPE_DISK: 1073741824
	imagick::RESOURCETYPE_FILE: 786432
	imagick::RESOURCETYPE_MAP: 512 MB
	imagick::RESOURCETYPE_MEMORY: 256 MB
	imagick::RESOURCETYPE_THREAD: 1
	imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.53.3

### wp-server ###

server_architecture: Linux 6.3.13-linuxkit x86_64
httpd_software: Apache/2.4.54 (Debian)
php_version: 7.4.33 64bit
php_sapi: apache2handler
max_input_variables: 10000
time_limit: 600
memory_limit: 1G
max_input_time: 900
upload_max_filesize: 100M
php_post_max_size: 100M
curl_version: 7.74.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-10-05T01:37:54+00:00
utc-time: Saturday, 05-Oct-24 01:37:54 UTC
server-time: 2024-10-04T21:37:52-04:00

### wp-database ###

extension: mysqli
server_version: 5.7.29
client_version: mysqlnd 7.4.33
max_allowed_packet: 33554432
max_connections: 151

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /app/wp-content
WP_PLUGIN_DIR: /app/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 1G
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable
mu-plugins: writable

### wp_mail_smtp ###

version: 3.3.0
license_key_type: lite
debug: No debug notices found.
lite_install_date: Aug 21, 2020 @ 6:51pm
pro_install_date: Sep 17, 2024 @ 7:24pm
email_log_entries: 34

### pods ###

pods-version: 3.2.7
pods-first-version: 3.2.2
pods-last-version: 3.0.10
pods-server-software: Apache/2.4.54 (Debian)
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
pods-session-save-path: undefined
pods-session-save-path-exists: No
pods-session-save-path-writable: No
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: Yes
pods-object-cache-memcache: No
pods-object-cache-memcached: Yes
pods-object-cache-redis: Yes
pods-memory-current-usage: 15.564M / 40M
pods-memory-current-usage-real: 8.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-relationship-table-status: 5,507
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-can-use-sessions: No
pods-settings-types_only: Enable [types_only=0]
pods-settings-watch_changed_fields: Disable [watch_changed_fields=0]
pods-settings-metadata_integration: Enable [metadata_integration=1]
pods-settings-metadata_override_get: Enable [metadata_override_get=1]
pods-settings-register_meta_integration: Disable [register_meta_integration=0]
pods-settings-media_modal_fields: Enable [media_modal_fields=0]
pods-settings-session_auto_start: Disable [session_auto_start=0]
pods-settings-dynamic_features_allow: Enable [dynamic_features_allow=1]
pods-settings-dynamic_features_enabled: Display and Form [dynamic_features_enabled=display,form]
pods-settings-show_access_restricted_messages: Disable [show_access_restricted_messages=0]
pods-settings-show_access_admin_notices: Enable [show_access_admin_notices=1]
pods-settings-dynamic_features_allow_sql_clauses: Disable [dynamic_features_allow_sql_clauses=0]
pods-settings-display_callbacks: Customized [display_callbacks=customized]
pods-settings-display_callbacks_allowed: esc_attr,esc_html

Pods Package

{
    "@meta": {
        "version": "3.2.7",
        "build": 1728092392
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "0",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "register_meta_integration": "0",
        "media_modal_fields": "0",
        "session_auto_start": "0",
        "dynamic_features_allow": "1",
        "dynamic_features_enabled": [
            "display",
            "form"
        ],
        "show_access_restricted_messages": "0",
        "show_access_admin_notices": "1",
        "dynamic_features_allow_sql_clauses": "0",
        "display_callbacks": "customized",
        "display_callbacks_allowed": "esc_attr,esc_html",
        "wisdom_opt_out": "1",
        "active_components": [
            "migrate-packages",
            "templates"
        ]
    },
    "pods": [
        {
            "name": "graduation_year",
            "id": 5969,
            "label": "Graduation Years",
            "description": "",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Graduation Year",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "required": "0",
            "built_in_post_types_post": "1",
            "show_admin_column": "1",
            "show_in_quick_edit": "1",
            "sister_id": "640",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "graduation_year",
            "query_var": "0",
            "sort": "0",
            "show_in_menu": "1",
            "menu_location": "objects",
            "menu_position": "5",
            "show_in_nav_menus": "1",
            "show_tagcloud": "1",
            "show_tagcloud_in_edit": "1",
            "menu_icon": "dashicons-welcome-learn-more",
            "dynamic_features_allow": "1",
            "restrict_dynamic_features": "0",
            "restricted_dynamic_features": [
                "form"
            ],
            "restricted_dynamic_features_forms": [
                "edit"
            ],
            "show_access_restricted_messages": "inherit",
            "show_access_admin_notices": "inherit",
            "groups": [
                {
                    "name": "users",
                    "id": 5970,
                    "label": "Users",
                    "description": "",
                    "weight": 0,
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "users",
                            "id": 5971,
                            "label": "Users",
                            "description": "",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5987",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": [
                                "Administrator",
                                "memberadmin",
                                "registrar",
                                "administrator",
                                "member"
                            ],
                            "roles_allowed": [
                                "administrator",
                                "registrar",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_role": "1",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0",
                            "logged_in_only": "0",
                            "admin_only": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0"
                        },
                        {
                            "name": "registrars",
                            "id": 5972,
                            "label": "Registrars",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5988",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": [
                                "Administrator",
                                "memberadmin",
                                "registrar",
                                "administrator"
                            ],
                            "roles_allowed": [
                                "administrator",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_role": "1",
                            "restrict_capability": "0",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0",
                            "logged_in_only": "0",
                            "admin_only": "0",
                            "hidden": "0",
                            "read_only": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "group",
            "id": 5973,
            "label": "Groups",
            "description": "",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Group",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "required": "0",
            "built_in_post_types_post": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "group",
            "query_var": "0",
            "sort": "0",
            "show_admin_column": "1",
            "show_tagcloud_in_edit": "1",
            "show_tagcloud": "1",
            "show_in_menu": "1",
            "menu_location": "objects",
            "menu_position": "5",
            "show_in_nav_menus": "1",
            "show_in_quick_edit": "1",
            "menu_icon": "dashicons-groups",
            "groups": [
                {
                    "name": "users",
                    "id": 5974,
                    "label": "Users",
                    "description": "",
                    "weight": 0,
                    "roles_allowed": "administrator",
                    "sister_id": "641",
                    "fields": [
                        {
                            "name": "users",
                            "id": 5975,
                            "label": "Users",
                            "description": "",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5989",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin",
                                "member",
                                "registrar"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_capability": "0",
                            "restrict_role": "1",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0",
                            "logged_in_only": "0",
                            "admin_only": "0",
                            "hidden": "0",
                            "read_only": "0"
                        },
                        {
                            "name": "users_pending",
                            "id": 5976,
                            "label": "Users Pending",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5990",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin",
                                "member",
                                "registrar"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_capability": "0",
                            "restrict_role": "1",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0"
                        },
                        {
                            "name": "users_blocked",
                            "id": 5977,
                            "label": "Users Blocked",
                            "description": "",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5991",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin",
                                "member",
                                "registrar"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_capability": "0",
                            "restrict_role": "1",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0"
                        },
                        {
                            "name": "registrars",
                            "id": 5978,
                            "label": "Registrars",
                            "description": "",
                            "weight": 3,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "5992",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "admin_only": "0",
                            "restrict_role": "1",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "default_evaluate_tags": "0",
                            "default_empty_fields": "0",
                            "enable_conditional_logic": "0"
                        },
                        {
                            "name": "visibility",
                            "id": 5979,
                            "label": "Visibility",
                            "description": "",
                            "weight": 4,
                            "type": "pick",
                            "pick_object": "custom-simple",
                            "sister_id": "-- Select One --",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "radio",
                            "pick_format_multi": "checkbox",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_custom": "anyone_can_join|Anyone can Join\njoin_with_permission|Join with Permission",
                            "default_value": "anyone_can_join"
                        }
                    ]
                }
            ]
        },
        {
            "name": "user",
            "id": 5980,
            "label": "User",
            "description": "",
            "type": "user",
            "storage": "meta",
            "object": "user",
            "_migrated_28": "1",
            "required": "0",
            "groups": [
                {
                    "name": "admin_email_notifications",
                    "id": 5981,
                    "label": "Admin Email Notifications",
                    "description": "",
                    "weight": 0,
                    "roles_allowed": [
                        "administrator",
                        "memberadmin",
                        "registrar"
                    ],
                    "logged_in": "1",
                    "restrict_role": "1",
                    "restrict_capability": "0",
                    "fields": [
                        {
                            "name": "allow_edit_of_send_email_for_each_registration",
                            "id": 5983,
                            "label": "Allow edit of send email for each registration",
                            "description": "",
                            "weight": 0,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_role": "1"
                        },
                        {
                            "name": "send_email_for_each_registration",
                            "id": 5984,
                            "label": "Send Email for each registration",
                            "description": "",
                            "weight": 1,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_capability": "1",
                            "capability_allowed": "edit_new_registration_email_notifications"
                        },
                        {
                            "name": "allow_edit_of_send_email_for_each_member_post",
                            "id": 5985,
                            "label": "Allow edit of send email for each member post",
                            "description": "",
                            "weight": 2,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_role": "1"
                        },
                        {
                            "name": "send_email_for_each_member_post",
                            "id": 5986,
                            "label": "Send Email for each member post",
                            "description": "",
                            "weight": 3,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "restrict_capability": "1",
                            "capability_allowed": "edit_new_member_post_email_notifications"
                        }
                    ]
                },
                {
                    "name": "groups",
                    "id": 5982,
                    "label": "Groups",
                    "description": "",
                    "weight": 1,
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "graduation_year",
                            "id": 5987,
                            "label": "Graduation Year",
                            "description": "",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "graduation_year",
                            "sister_id": "5971",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin",
                                "registrar"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "logged_in_only": "0",
                            "restrict_role": "1"
                        },
                        {
                            "name": "graduation_year_registrar",
                            "id": 5988,
                            "label": "Graduation Year Registrar",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "graduation_year",
                            "sister_id": "5972",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": [
                                "administrator",
                                "memberadmin"
                            ],
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "logged_in_only": "0",
                            "admin_only": "0",
                            "restrict_role": "1"
                        },
                        {
                            "name": "groups",
                            "id": 5989,
                            "label": "Groups",
                            "description": "",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "group",
                            "sister_id": "5975",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "groups_pending",
                            "id": 5990,
                            "label": "Groups Pending",
                            "description": "",
                            "weight": 3,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "group",
                            "sister_id": "5976",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "groups_blocked",
                            "id": 5991,
                            "label": "Groups Blocked",
                            "description": "",
                            "weight": 4,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "group",
                            "sister_id": "5977",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "groups_registrar",
                            "id": 5992,
                            "label": "Groups Registrar",
                            "description": "",
                            "weight": 5,
                            "type": "pick",
                            "pick_object": "taxonomy",
                            "pick_val": "group",
                            "sister_id": "5978",
                            "post_status": "publish",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        }
                    ]
                }
            ]
        }
    ]
}
@sc0ttkclark
Copy link
Member

@nelsonamaya82 Is it possible that you added the bidirectional relationship setting on either sides of the relationship fields after content had already been saved for one of them?

@nelsonamaya82
Copy link
Author

@sc0ttkclark I'm not sure if that was set after content had already been saved as other devs were working on it before me. If that were the case, how can I validate it or how can I fix it?

@sc0ttkclark
Copy link
Member

The issue here appears to be that the bidirectional relationship was set up after data existed on either side of the relationship. As a result, those items were not 'connected' in the DB as bidirectional. Re-saving the existing items will sync this up or you can run queries like those below. I believe I found an area in the code which needs to be adjusted for this so I will keep this issue open to work on that.

Relationship Field A

UPDATE wp_podsrel SET related_pod_id = 111, related_field_id = 222 WHERE field_id = 333
  • related_pod_id should be the pod ID of Relationship Field B
  • related_field_id should be the field ID of Relationship Field B
  • field_id should be the field ID of Relationship Field A

Relationship Field B (the other side of the bidirectional relationship)

UPDATE wp_podsrel SET related_pod_id = 444, related_field_id = 333 WHERE field_id = 111
  • related_pod_id should be the pod ID of Relationship Field A
  • related_field_id should be the field ID of Relationship Field A
  • field_id should be the field ID of Relationship Field B

@sc0ttkclark sc0ttkclark self-assigned this Oct 12, 2024
@sc0ttkclark sc0ttkclark added this to the Next Release milestone Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants