pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Bi-directional field only working (partially) onesided #7172

Closed Driekes closed 1 year ago

Driekes commented 1 year ago

Description

I have a pod with the field 'Deelnemers' which translates to 'Participants'. They are all subscribed to a cycling event (Rit/Ritten).

I have set up forms to select 'Deelnemers/participants' from a drop down list and get them assigned. This has worked well until last week.

I have set up an auto-template for the 'Deelnemers/participants' to list all the events. This one is OK and shows all the events.

The backend however shows the last event of a single user is nót selected.

Version

3.0.1

Testing Instructions

It is only possible to show the difference when logged in, because the admin area is the 'wrong' part.

Screenshots / Screencast

This one shows the backend from the user perspective, name omitted for privacy reasons. image The event isn't selected and should be the option of 2023-09-16-recreatief.

This one shows the event, and the user being selected (third option)

image

This one shows the auto-template frontend, the event is present:

image

Possible Workaround

It is possible to log in and manually add the event (rit) on the participant(deelnemer). Then it is stored, but I would like to get it working stable again.

Site Health Information

`
### wp-core ###

version: 6.3
site_language: nl_NL
user_language: nl_NL
timezone: Europe/Amsterdam
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 5
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/flesj/domains/deflesj.nl/public_html
wordpress_size: 58,17 MB (60999724 bytes)
uploads_path: /home/flesj/domains/deflesj.nl/public_html/wp-content/uploads
uploads_size: 171,25 MB (179567761 bytes)
themes_path: /home/flesj/domains/deflesj.nl/public_html/wp-content/themes
themes_size: 19,73 MB (20687145 bytes)
plugins_path: /home/flesj/domains/deflesj.nl/public_html/wp-content/plugins
plugins_size: 58,80 MB (61652490 bytes)
database_size: 13,38 MB (14024704 bytes)
total_size: 321,32 MB (336931824 bytes)

### wp-active-theme ###

name: Sydney (sydney)
version: 2.28
author: aThemes
author_website: https://athemes.com
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, post-thumbnails, menus, html5, post-formats, custom-background, align-wide, block-templates, custom-header, infinite-scroll, widgets
theme_path: /home/flesj/domains/deflesj.nl/public_html/wp-content/themes/sydney

### wp-themes-inactive (2) ###

Twenty Twenty-One: version: 1.9, author: the WordPress team
Twenty Twenty-Two: version: 1.5, author: the WordPress team

### wp-mu-plugins (1) ###

installatron_hide_status_test.php: author: (undefined), version: (undefined)

### wp-plugins-active (10) ###

Add Descendants As Submenu Items: version: 1.2.2, author: Alex Mills (Viper007Bond)
Admin Columns: version: 4.6.1, author: AdminColumns.com
Code Snippets: version: 3.5.0, author: Code Snippets Pro
Feed Them Social - Page, Post, Video and Photo Galleries: version: 4.1.8, author: SlickRemix
Filter Pods Relationships: author: (undefined), version: 3
Lightbox for Gallery & Image Block: version: 1.13, author: Johannes Kinast <johannes@travel-dealz.de>
Limit Login Attempts Reloaded: version: 2.25.25, author: Limit Login Attempts Reloaded
Pods - Custom Content Types and Fields: version: 3.0.1, author: Pods Framework Team
Site Kit by Google: version: 1.109.0, author: Google
WPForms: version: 1.6.8.1, author: WPForms

### wp-plugins-inactive (2) ###

Debug Bar Rewrite Rules: version: 0.6.5, author: Oleg Butuzov
WP All Import: version: 3.7.2, author: Soflyy

### code-snippets (7) ###

snippet-5: name: Rit titel datum aanpassen, scope: admin, modified: 2020-12-22 19:49:03
snippet-7: name: Datum omzetten, scope: global
snippet-8: name: Routeprogramma, scope: global, modified: 2023-09-16 18:57:46
snippet-9: name: Kruutskesklassement, scope: global, modified: 2020-12-31 08:42:03
snippet-12: name: Lid titel naam aanpassen, scope: admin, modified: 2020-12-23 18:15:15
snippet-15: name: Toevoegen aan kalender script, scope: global, modified: 2021-06-05 12:16:38
snippet-16: name: Custom CSS, scope: global, modified: 2022-08-08 18:18:44

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-2 Q16 x86_64 2021-06-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 377 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 49152
    imagick::RESOURCETYPE_MAP: 377 GB
    imagick::RESOURCETYPE_MEMORY: 189 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, 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, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 8.70

### wp-server ###

server_architecture: Linux 2.6.32-954.3.5.lve1.4.85.el6.x86_64 x86_64
httpd_software: Apache/2
php_version: 7.4.33 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 300
memory_limit: 256M
max_input_time: -1
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.84.0 OpenSSL/1.1.1p
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2023-09-17T11:23:09+00:00
utc-time: Sunday, 17-Sep-23 11:23:09 UTC
server-time: 2023-09-17T13:23:07+02:00

### wp-database ###

extension: mysqli
server_version: 10.4.27-MariaDB-cll-lve
client_version: 10.4.26-MariaDB
max_allowed_packet: 268435456
max_connections: 5000

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/flesj/domains/deflesj.nl/public_html/wp-content
WP_PLUGIN_DIR: /home/flesj/domains/deflesj.nl/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Ongedefinieerd
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### wpforms ###

version: 1.6.8.1
lite: aug 9, 2021 @ 11:31am
pro: aug 11, 2021 @ 10:53am
upload_dir: Beschrijfbaar
db_tables: wp_wpforms_entries, wp_wpforms_entry_fields, wp_wpforms_entry_meta, wp_wpforms_tasks_meta
total_forms: 3
total_entries: 45
license_status: Invalid (valid)
license_location: constant

### google-site-kit ###

version: 1.109.0
php_version: 7.4.33
wp_version: 6.3
reference_url: https://deflesj.nl
amp_mode: no
site_status: connected-site
user_status: authenticated
verification_status: verified-file
connected_user_count: 1
active_modules: site-verification, search-console, analytics, analytics-4, pagespeed-insights
recoverable_modules: none
required_scopes: 
    openid: ✅
    https://www.googleapis.com/auth/userinfo.profile: ✅
    https://www.googleapis.com/auth/userinfo.email: ✅
    https://www.googleapis.com/auth/siteverification: ✅
    https://www.googleapis.com/auth/webmasters: ✅
    https://www.googleapis.com/auth/analytics.readonly: ✅
capabilities: 
    googlesitekit_authenticate: ✅
    googlesitekit_setup: ✅
    googlesitekit_view_posts_insights: ✅
    googlesitekit_view_dashboard: ✅
    googlesitekit_manage_options: ✅
    googlesitekit_update_plugins: ✅
    googlesitekit_view_splash: ✅
    googlesitekit_view_authenticated_dashboard: ✅
    googlesitekit_view_wp_dashboard_widget: ✅
    googlesitekit_view_admin_bar_menu: ✅
    googlesitekit_view_shared_dashboard: ⭕
    googlesitekit_read_shared_module_data::["search-console"]: ⭕
    googlesitekit_read_shared_module_data::["analytics"]: ⭕
    googlesitekit_read_shared_module_data::["pagespeed-insights"]: ⭕
    googlesitekit_manage_module_sharing_options::["search-console"]: ⭕
    googlesitekit_manage_module_sharing_options::["analytics"]: ✅
    googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ✅
    googlesitekit_delegate_module_sharing_management::["search-console"]: ⭕
    googlesitekit_delegate_module_sharing_management::["analytics"]: ✅
    googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ⭕
enabled_features: 
    adsenseSetupV2: ✅
    enhancedMeasurement: ⭕
    ga4Reporting: ✅
    gm3Components: ⭕
    userInput: ⭕
search-console_shared_roles: none
search-console_management: owner
analytics_shared_roles: none
analytics_management: owner
pagespeed-insights_shared_roles: none
pagespeed-insights_management: all_admins
search_console_property: https://deflesj.nl/
analytics_dashboard_view: universal-analytics
analytics_account_id: 1885•••••
analytics_property_id: UA-1885•••••••
analytics_profile_id: 2365•••••
analytics_use_snippet: yes
analytics_4_property_id: 2606864••
analytics_4_web_data_stream_id: 2273••••••
analytics_4_measurement_id: G-58••••••••
analytics_4_use_snippet: yes

### pods ###

pods-server-software: Apache/2
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
pods-session-save-path: /opt/alt/php74/var/lib/php/session
pods-session-save-path-exists: Ja
pods-session-save-path-writable: Ja
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: Nee
pods-opcode-cache-memcached: Nee
pods-opcode-cache-opcache: Nee
pods-opcode-cache-redis: Nee
pods-object-cache-apc: Nee
pods-object-cache-apcu: Nee
pods-object-cache-memcache: Nee
pods-object-cache-memcached: Ja
pods-object-cache-redis: Ja
pods-memory-current-usage: 77,670M / 40M
pods-memory-current-usage-real: 79,000M
pods-network-wide: Nee
pods-install-location: /wp-content/plugins/pods/
pods-developer: Nee
pods-tableless-mode: Nee
pods-relationship-table-enabled: Ja
pods-relationship-table-status: 5,170
pods-light-mode: Nee
pods-strict: Nee
pods-allow-deprecated: Ja
pods-api-cache: Ja
pods-shortcode-allow-evaluate-tags: Nee
pods-sessions: Enable sessions (may decrease performance)
pods-can-use-sessions: Ja
pods-settings-types_only: Nee
pods-settings-watch_changed_fields: Ja
pods-settings-metadata_integration: Ja
pods-settings-metadata_override_get: Ja

`

Pods Package

{
    "@meta": {
        "version": "3.0.1",
        "build": 1694949944
    },
    "settings": {
        "session_auto_start": "1",
        "wisdom_opt_out": "",
        "pods_session_auto_start": "1",
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "media_modal_fields": "1",
        "active_components": [
            "builder-integration",
            "migrate-packages",
            "roles-and-capabilities",
            "templates"
        ]
    },
    "pods": [
        {
            "name": "lid",
            "id": 64,
            "label": "Leden",
            "description": "",
            "label_singular": "Lid",
            "public": "1",
            "show_ui": "1",
            "supports_title": "0",
            "supports_editor": "0",
            "type": "post_type",
            "storage": "meta",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "lid",
            "capability_type_extra": "1",
            "has_archive": "0",
            "hierarchical": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "supports_author": "0",
            "supports_thumbnail": "0",
            "supports_excerpt": "0",
            "supports_trackbacks": "0",
            "supports_custom_fields": "0",
            "supports_comments": "0",
            "supports_revisions": "0",
            "supports_page_attributes": "0",
            "supports_post_formats": "0",
            "built_in_taxonomies_category": "0",
            "built_in_taxonomies_link_category": "0",
            "built_in_taxonomies_post_tag": "0",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "pfat_enable": "1",
            "pfat_run_outside_loop": "0",
            "pfat_append_single": "prepend",
            "pfat_filter_single": "the_content",
            "pfat_append_archive": "append",
            "pfat_filter_archive": "custom",
            "rest_enable": "0",
            "read_all": "0",
            "write_all": "0",
            "pfat_single": "Kruutskeslies lid",
            "pfat_filter_archive_custom": "the_content",
            "_migrated_28": "1",
            "required": "0",
            "groups": [
                {
                    "name": "meer_velden",
                    "id": 9588,
                    "label": "Meer velden",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "voornaam",
                            "id": 8405,
                            "label": "Voornaam",
                            "description": "",
                            "weight": 0,
                            "type": "text",
                            "required": "1",
                            "text_allow_shortcode": "0",
                            "text_allow_html": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "text_repeatable": "0"
                        },
                        {
                            "name": "tussenvoegsel",
                            "id": 8406,
                            "label": "Tussenvoegsel",
                            "description": "",
                            "weight": 1,
                            "type": "text",
                            "required": "0",
                            "text_allow_shortcode": "0",
                            "text_allow_html": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "text_repeatable": "0"
                        },
                        {
                            "name": "achternaam",
                            "id": 8407,
                            "label": "Achternaam",
                            "description": "",
                            "weight": 2,
                            "type": "text",
                            "required": "1",
                            "text_allow_shortcode": "0",
                            "text_allow_html": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "text_repeatable": "0"
                        },
                        {
                            "name": "ritten",
                            "id": 68,
                            "label": "Ritten",
                            "description": "",
                            "weight": 3,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "rit",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "checkbox",
                            "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_post_status": [
                                "publish"
                            ],
                            "admin_only": "1",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "sister_id": "70",
                            "unique": "0",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", "
                        },
                        {
                            "name": "lidmaatschap",
                            "id": 9590,
                            "label": "Lidmaatschap be\u00ebindigd",
                            "description": "Vul hier een datum in vanaf wanneer men uit de lijsten mag verdwijnen",
                            "weight": 4,
                            "type": "date",
                            "sister_id": "-- Selecteren --",
                            "post_status": "publish",
                            "required": "0",
                            "date_type": "format",
                            "date_format": "dmy_dash",
                            "date_allow_empty": "1",
                            "date_html5": "1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "repeatable_format": "default"
                        }
                    ]
                }
            ]
        },
        {
            "name": "rit",
            "id": 63,
            "label": "Ritten",
            "description": "",
            "label_singular": "Rit",
            "public": "1",
            "show_ui": "1",
            "supports_title": "0",
            "supports_editor": "0",
            "type": "post_type",
            "storage": "meta",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "custom",
            "capability_type_custom": "rit",
            "capability_type_extra": "1",
            "has_archive": "0",
            "hierarchical": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "publish",
            "supports_author": "0",
            "supports_thumbnail": "0",
            "supports_excerpt": "0",
            "supports_trackbacks": "0",
            "supports_custom_fields": "0",
            "supports_comments": "0",
            "supports_revisions": "0",
            "supports_page_attributes": "0",
            "supports_post_formats": "0",
            "built_in_taxonomies_category": "0",
            "built_in_taxonomies_link_category": "0",
            "built_in_taxonomies_post_tag": "0",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "pfat_enable": "1",
            "pfat_run_outside_loop": "0",
            "pfat_append_single": "prepend",
            "pfat_filter_single": "the_content",
            "pfat_append_archive": "prepend",
            "pfat_filter_archive": "custom",
            "rest_enable": "0",
            "read_all": "0",
            "write_all": "0",
            "pfat_single": "Rit",
            "pfat_filter_archive_custom": "the_content",
            "_migrated_28": "1",
            "groups": [
                {
                    "name": "meer_velden",
                    "id": 9367,
                    "label": "Meer velden",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "rit_datum",
                            "id": 77,
                            "label": "Rit datum",
                            "description": "",
                            "weight": 0,
                            "type": "date",
                            "required": "1",
                            "date_type": "format",
                            "date_format": "dmy_dash",
                            "date_allow_empty": "0",
                            "date_html5": "1",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "date_repeatable": "0",
                            "date_year_range_custom": "-0:+1",
                            "post_status": "publish",
                            "sister_id": "-- Selecteren --"
                        },
                        {
                            "name": "groep",
                            "id": 8316,
                            "label": "Groep",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "custom-simple",
                            "pick_custom": "sportief|Sportief\nrecreatief|Recreatief\nleefhobbers|Leefh\u00f6bbers",
                            "required": "1",
                            "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_post_status": [
                                "publish"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0"
                        },
                        {
                            "name": "tijd",
                            "id": 101,
                            "label": "Starttijd",
                            "description": "",
                            "weight": 2,
                            "type": "time",
                            "required": "0",
                            "time_type": "24",
                            "time_format": "h_mma",
                            "time_format_24": "hh_mm",
                            "time_allow_empty": "0",
                            "time_html5": "1",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "time_repeatable": "0",
                            "default_value": "09:00"
                        },
                        {
                            "name": "route",
                            "id": 69,
                            "label": "Route",
                            "description": "",
                            "weight": 3,
                            "type": "pick",
                            "required": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "autocomplete",
                            "pick_format_multi": "checkbox",
                            "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_post_status": [
                                "publish"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "pick_object": "post_type",
                            "pick_val": "route",
                            "sister_id": "71",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", "
                        },
                        {
                            "name": "deelnemers",
                            "id": 70,
                            "label": "Deelnemers",
                            "description": "",
                            "weight": 4,
                            "type": "pick",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "0",
                            "pick_show_edit_link": "0",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "pick_object": "post_type",
                            "pick_val": "lid",
                            "sister_id": "68",
                            "unique": "0",
                            "pick_display_format_multi": "non_serial",
                            "pick_display_format_separator": ", ",
                            "pick_orderby": "`achternaam.meta_value`",
                            "post_status": "publish",
                            "pick_table": "-- Selecteren --",
                            "pick_post_author": "0"
                        },
                        {
                            "name": "chauffeur",
                            "id": 8658,
                            "label": "Chauffeur",
                            "description": "",
                            "weight": 5,
                            "type": "pick",
                            "required": "0",
                            "pick_format_type": "multi",
                            "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": "1",
                            "pick_post_status": [
                                "publish"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "pick_object": "custom-simple",
                            "unique": "0",
                            "pick_custom": "ja|Ja"
                        },
                        {
                            "name": "omschrijving",
                            "id": 9059,
                            "label": "Omschrijving",
                            "description": "Optionele toevoeging, de eerste route van de dag wordt gebruikt, normaliter sportief.",
                            "weight": 6,
                            "type": "text",
                            "required": "0",
                            "text_allow_shortcode": "0",
                            "text_allow_html": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "60",
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "0",
                            "rest_write": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "2",
                            "unique": "0",
                            "text_repeatable": "0",
                            "post_status": "publish",
                            "sister_id": "-- Selecteren --"
                        }
                    ]
                }
            ]
        }
    ],
    "templates": [
        {
            "name": "Kruutskeslies lid",
            "code": "<div><b>Rithistorie<\/b>\r\n<ul>\r\n[pods name=\"rit\" pagination=\"false\" limit=-1 where=\"deelnemers.ID = {@ID}\" template=\"Ritten Archief\" orderby=\"post_title DESC\"]\r\n<\/ul>\r\n<\/div>",
            "id": 8088,
            "_edit_last": "1",
            "_edit_lock": "1666982072:1",
            "pod_reference": {
                "pod": "lid"
            }
        },
        {
            "name": "Rit",
            "code": "<li><b>{@tijd} {@groep}<\/b> [if chauffeur]\ud83d\ude95[\/if] - <a href=\"{@route.permalink}\">{@route.post_title} <i>({@route.afstand}km)<\/i><\/a><\/li><br>\r\n\r\n[if deelnemers]\r\nDeelnemers:\r\n<ul>\r\n[each deelnemers]\r\n<li><a href=\"{@permalink}\">{@post_title}<\/a><\/li>\r\n[\/each]\r\n<\/ul>\r\n[\/if]\r\n[if route]\r\n[each route]\r\n[if komoot_link]\r\n<iframe src=\"{@komoot_link}\/embed?profile=1\" width=\"100%\" height=\"680\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\r\n[else]\r\n\r\n[if alltrails_link]\r\n<iframe class=\"alltrails\" src=\"https:\/\/www.alltrails.com\/widget\/map\/{@alltrails_link}?u=m\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\"><\/iframe>\r\n[else]\r\nGeen route beschikbaar op het moment\r\n[\/if]\r\n\r\n[\/if]\r\n[\/each]\r\n[\/if]\r\n[pods name=\"rit\" id=\"{@ID}\" template=\"Rit wijzigen\" shortcodes=1]",
            "id": 62,
            "_edit_last": "1",
            "_edit_lock": "1659695512:1",
            "show_restrict_message": "1",
            "pod_reference": {
                "pod": "rit"
            }
        }
    ]
}
sc0ttkclark commented 1 year ago

Fixed via b904aba5dcbc5d2efd3f3dd6b1935b799f76040b and e77ce66cc7f2f0aa7837a5fe2c6fc5b8c9afb067

Driekes commented 1 year ago

@sc0ttkclark

I tested it, saved pages again and it seemed to work. Then I noticed, during testing I have enabled an additional field on 'deelnemer'.

It is no longer visible in the admin

image

However, when accessing the page, it is part of the auto-template:

image

Looking at the event (rit) the person is still selected. (No screenshot due to person privacy.

Anything I can provide?

sc0ttkclark commented 1 year ago

@Driekes Are you on our Slack already?

If you'd like to join our Live Community Pods Slack at https://support.pods.io/chat/ -- I'm sure we can help you debug this more quickly and get to the bottom of the issue. Once you join, just look for me and send me a Direct Message and I can work with you to figure this out.

Is that something you're open to?