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

Modal window does not save info in the child pod #6586

Open ghost opened 2 years ago

ghost commented 2 years ago

Description

I'm getting the following not wanted behaivour: On open a modal window following the "add new" button from the parent pod (in a bi-directional relationship), the child modal window saves the post title (and the relationship) but not other fields even when they are set as mandatory in the child pod settings.

Version

2.9.1

Testing Instructions

  1. Open an existing parent post
  2. click on the add new button to add a new child post (on a bi-direcctional relationship)
  3. set the child post title
  4. set any other mandatory field in the child post
  5. save the child post and the modal window is closed
  6. update the parent post.
  7. edit the child post from the parent post or from the child post menus
  8. the mandatory fields previously saved are blank

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.0.1
site_language: en_GB
user_language: en_GB
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 1
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 2
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/raul/Local Sites/revistaspods/app/public
wordpress_size: 52.85 MB (55415587 bytes)
uploads_path: /home/raul/Local Sites/revistaspods/app/public/wp-content/uploads
uploads_size: 1.70 MB (1777714 bytes)
themes_path: /home/raul/Local Sites/revistaspods/app/public/wp-content/themes
themes_size: 11.53 MB (12089471 bytes)
plugins_path: /home/raul/Local Sites/revistaspods/app/public/wp-content/plugins
plugins_size: 14.47 MB (15171131 bytes)
database_size: 17.09 MB (17924096 bytes)
total_size: 97.64 MB (102377999 bytes)

### wp-active-theme ###

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.2
author: the WordPress team
author_website: https://en-gb.wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: /home/raul/Local Sites/revistaspods/app/public/wp-content/themes/twentytwentytwo
auto_update: Disabled

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

Twenty Twenty: version: 2.0, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.6, author: the WordPress team, Auto-updates disabled

### wp-plugins-active (1) ###

Pods - Custom Content Types and Fields: version: 2.9.1, author: Pods Framework Team, Auto-updates disabled

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

Code Snippets: version: 3.2.0, author: Code Snippets Pro, Auto-updates disabled
Colección de Revistas: version: 0.0.1, author: Raul Magdalena, Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 1000M
upload_max_filesize: 300M
max_effective_size: 300 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, BMP
ghostscript_version: 9.55.0

### wp-server ###

server_architecture: Linux 5.15.0-46-generic x86_64
httpd_software: Apache/2.4.43 (Unix)
php_version: 8.0.0 64bit
php_sapi: fpm-fcgi
max_input_variables: 4000
time_limit: 1200
memory_limit: 256M
max_input_time: 600
upload_max_filesize: 300M
php_post_max_size: 1000M
curl_version: 7.58.0 GnuTLS/3.5.18
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

### wp-database ###

extension: mysqli
server_version: 8.0.16
client_version: mysqlnd 8.0.0
max_allowed_packet: 16777216
max_connections: 151

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/raul/Local Sites/revistaspods/app/public/wp-content
WP_PLUGIN_DIR: /home/raul/Local Sites/revistaspods/app/public/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: local
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### pods ###

pods-server-software: Apache/2.4.43 (Unix)
pods-user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.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: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 13.003M
pods-memory-current-usage-real: 4.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-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: No
pods-relationship-table-status: 98

`

Pods Package

{
    "@meta": {
        "version": "2.9.1",
        "build": 1660227408
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "0",
        "metadata_integration": "1",
        "metadata_override_get": "0",
        "session_auto_start": "0",
        "wisdom_opt_out": "1"
    },
    "pods": [
        {
            "name": "articulo",
            "id": 8,
            "label": "Art\u00edculos",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Art\u00edculo",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "supports_author": "1",
            "pfat_enable": "1",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "pfat_single": "articulo_template",
            "repeatable": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 9,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "articulo_numero",
                            "id": 27,
                            "label": "N\u00famero revista",
                            "description": "N\u00famero de la revista en la que aparece el art\u00edculo",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "numeros",
                            "pick_table": "-- Select One --",
                            "required": "1",
                            "pick_format_type": "single",
                            "pick_format_single": "autocomplete",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "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",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_display": "{@post_title}",
                            "pick_add_new_label": "A\u00f1adir nuevo n\u00famero",
                            "repeatable": "0",
                            "sister_id": "441"
                        },
                        {
                            "name": "autor_articulo",
                            "id": 33,
                            "label": "Autor\/a",
                            "description": "Autores o autoras del art\u00edculo",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "autor",
                            "pick_table": "-- Select One --",
                            "required": "1",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "1",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_display": "{@post_title}",
                            "pick_add_new_label": "A\u00f1adir nuevo autor\/a",
                            "sister_id": "247",
                            "repeatable": "0"
                        },
                        {
                            "name": "order",
                            "id": 158,
                            "label": "Order",
                            "description": "orden del art\u00edculo en la revista",
                            "weight": 2,
                            "type": "number",
                            "sister_id": "-- Select One --",
                            "required": "1",
                            "number_format_type": "number",
                            "number_format": "i18n",
                            "number_decimals": "0",
                            "number_format_soft": "0",
                            "number_step": "1",
                            "number_max_length": "2",
                            "number_html5": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "autor",
            "id": 29,
            "label": "Autores\/as",
            "description": "Nonbre y datos del autor\/a",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Autor\/a",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "placeholder_enter_title_here": "Nombre del autor\/a",
            "supports_author": "1",
            "supports_thumbnail": "1",
            "required": "0",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "autor",
            "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",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "1",
            "pfat_enable": "1",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "pfat_single": "autor_template",
            "repeatable": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 30,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "bio",
                            "id": 159,
                            "label": "Bio",
                            "description": "Biograf\u00eda del autor\/a",
                            "weight": 0,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "-1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "paragraph_trim": "1",
                            "paragraph_allow_html": "1",
                            "paragraph_placeholder": "Bio"
                        },
                        {
                            "name": "autor_articulo",
                            "id": 247,
                            "label": "Articulo",
                            "description": "Articulos publicados por el autor\/a",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "articulo",
                            "sister_id": "33",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "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",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir nuevo art\u00edculo",
                            "pick_display": "{@post_title}",
                            "repeatable": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "editor",
            "id": 36,
            "label": "Editores",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Editor",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "editor",
            "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": "1",
            "supports_comments": "0",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "0",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "pfat_enable": "1",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "pfat_single": "editores_template",
            "pfat_append_single": "prepend",
            "supports_excerpt": "1",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 37,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "revistas_editor",
                            "id": 39,
                            "label": "Revistas",
                            "description": "Revistas publicadas por el editor",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "revista",
                            "sister_id": "18",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "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",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir nueva revista",
                            "pick_display": "@post_title"
                        },
                        {
                            "name": "web",
                            "id": 120,
                            "label": "Web",
                            "description": "Web del editor",
                            "weight": 1,
                            "type": "website",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "website_format": "normal",
                            "website_allow_port": "0",
                            "website_clickable": "0",
                            "website_new_window": "0",
                            "website_max_length": "255",
                            "website_html5": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "numeros",
            "id": 190,
            "label": "N\u00fameros",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "N\u00famero",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "required": "0",
            "pfat_enable": "1",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "pfat_single": "numeros_template",
            "pfat_append_single": "replace",
            "repeatable": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 191,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "fecha_publicacion",
                            "id": 193,
                            "label": "Fecha publicaci\u00f3n",
                            "description": "Fecha de publicaci\u00f3n del n\u00famero",
                            "weight": 0,
                            "type": "date",
                            "sister_id": "-- Select One --",
                            "required": "1",
                            "date_type": "format",
                            "date_format": "dmy",
                            "date_allow_empty": "0",
                            "date_html5": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "numero_publicacion",
                            "id": 195,
                            "label": "N\u00famero de la publicaci\u00f3n",
                            "description": "N\u00famero de la revista, puede ser un n\u00famero o una fecha, (ej. Abril 2022)",
                            "weight": 1,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "1",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "numeros_articulos",
                            "id": 441,
                            "label": "Art\u00edculos",
                            "description": "Art\u00edculos incluidos en el n\u00famero de la revista",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "articulo",
                            "sister_id": "27",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "repeatable": "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",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir nuevo art\u00edculo",
                            "pick_display": "{@post_title}"
                        },
                        {
                            "name": "revista",
                            "id": 197,
                            "label": "Revista",
                            "description": "Revista a la que pertenece el n\u00famero",
                            "weight": 3,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "revista",
                            "sister_id": "183",
                            "pick_table": "-- Select One --",
                            "required": "1",
                            "pick_format_type": "single",
                            "pick_format_single": "autocomplete",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "1",
                            "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",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir nueva revista",
                            "pick_display": "{@post_title}",
                            "repeatable": "0"
                        },
                        {
                            "name": "portada",
                            "id": 205,
                            "label": "Portada",
                            "description": "Portada del n\u00famero de la revista",
                            "weight": 4,
                            "type": "file",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "file_format_type": "single",
                            "file_uploader": "attachment",
                            "file_attachment_tab": "upload",
                            "file_upload_dir": "wp",
                            "file_edit_title": "1",
                            "file_show_edit_link": "0",
                            "file_linked": "0",
                            "file_limit": "0",
                            "file_type": "images",
                            "file_field_template": "rows",
                            "file_add_button": "Add File",
                            "file_modal_title": "Attach a file",
                            "file_modal_add_button": "Add File",
                            "file_wp_gallery_output": "1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "usuario",
                            "id": 318,
                            "label": "Usuario",
                            "description": "Usuarios que tienen este n\u00famero",
                            "weight": 5,
                            "type": "pick",
                            "pick_object": "user",
                            "sister_id": "317",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "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",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "revista",
            "id": 15,
            "label": "Revistas",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Revista",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "required": "0",
            "supports_author": "1",
            "supports_excerpt": "0",
            "supports_thumbnail": "1",
            "supports_comments": "1",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "revista",
            "capability_type_extra": "1",
            "has_archive": "0",
            "hierarchical": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "0",
            "supports_page_attributes": "0",
            "built_in_taxonomies_category": "1",
            "archive_show_in_taxonomies_category": "1",
            "show_in_nav_menus": "1",
            "pfat_enable": "1",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "pfat_single": "revista_template",
            "pfat_append_single": "prepend",
            "repeatable": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 16,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "editor_name",
                            "id": 18,
                            "label": "Editor",
                            "description": "Editor de la revista",
                            "weight": 0,
                            "type": "pick",
                            "required": "1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_object": "post_type",
                            "pick_val": "editor",
                            "pick_table": "-- Select One --",
                            "pick_format_type": "single",
                            "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",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "sister_id": "39",
                            "pick_add_new_label": "A\u00f1adir nuevo editor",
                            "pick_display": "@post_title"
                        },
                        {
                            "name": "informacion",
                            "id": 149,
                            "label": "Informaci\u00f3n",
                            "description": "Informaci\u00f3n sobre la revista",
                            "weight": 1,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "-1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "paragraph_allow_html": "1"
                        },
                        {
                            "name": "numero_revista",
                            "id": 183,
                            "label": "N\u00famero",
                            "description": "N\u00famero de la revista",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "numeros",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "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",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir n\u00famero",
                            "pick_display": "{@post_title}",
                            "sister_id": "197",
                            "repeatable": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "user",
            "id": 315,
            "label": "User",
            "description": "",
            "type": "user",
            "storage": "meta",
            "object": "user",
            "_migrated_28": "1",
            "required": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 316,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "numeros_revista",
                            "id": 317,
                            "label": "N\u00fameros revista",
                            "description": "N\u00fameros de cada revista en la colecci\u00f3n del usuario",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "numeros",
                            "sister_id": "318",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "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",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_add_new_label": "A\u00f1adir n\u00famero",
                            "pick_display": "{@post_title}"
                        }
                    ]
                }
            ]
        }
    ],
    "templates": [
        {
            "name": "articulo_template",
            "code": "<div>N\u00famero: <a href=\"\/?p={@articulo_numero.ID}\">{@articulo_numero.post_title}<\/a><\/div>\r\n<table>\r\n\t<tr>\r\n\t\t<th>Orden art\u00edculo<\/th>\r\n\t\t<th>T\u00edtulo del n\u00famero<\/th>\r\n\t\t<th>Autor\/a<\/th>\r\n\t<\/tr>\r\n\t<tr>\r\n\t\t<td>{@order}<\/td>\r\n\t\t<td><a href=\"{@permalink, esc_url}\"><\/a>{@numeros.post_title}<\/td>\r\n\t\t<td><a href=\"{@permalink, esc_url}\">{@autor_articulo}<\/a><\/td>\r\n\t<\/tr>\r\n<\/table>",
            "id": 229,
            "_edit_last": "1",
            "_edit_lock": "1660158815:1",
            "pod_reference": {
                "pod": "articulo"
            }
        },
        {
            "name": "autor_template",
            "code": "<table class=\"table table-striped\">\r\n\t<tr>\r\n\t\t<th>Art\u00edculo<\/th>\r\n\t\t<th>Revista<\/th>\r\n\t<\/tr>\r\n\t<tr>\r\n\t\t<td>{@autor_articulo.post_title}<\/td>\r\n\t\t<td>{@autor_articulo.articulo_numero.revista.post_title}<\/td>\r\n\t<\/tr>\r\n<\/table>",
            "id": 309,
            "_edit_last": "1",
            "_edit_lock": "1659637070:1",
            "pod_reference": {
                "pod": "autor"
            }
        },
        {
            "name": "editores_template",
            "code": "<div><a href=\"{@web}\" target=\"_blank\" rel=\"noopener\">{@web}<\/a><\/div>\r\n[if revistas_editor]\r\n<h3>Revistas<\/h3>\r\n\t<ul>\r\n\t[each revistas_editor]\r\n\t\t<li><a href=\"{@permalink,esc_url}\">{@nombre_revista}<\/a><\/li>\r\n\t[\/each]\r\n\t<\/ul>\r\n[else]\r\n\t<div>El editor {@post_title} aun no tiene revistas<\/div>\r\n[\/if]",
            "id": 47,
            "_edit_last": "1",
            "_edit_lock": "1659627647:1",
            "pod_reference": {
                "pod": "editor"
            }
        },
        {
            "name": "numeros_template",
            "code": "<div><a href=\"{@permalink,esc_url}\">{@revista}<\/a><\/div>\r\n<div class=\"numero\">\r\n\t<div class=\"thumbnail\">\r\n\t\t[if portada]\r\n\t\t<div class=\"cover\">{@portada}<\/div>\r\n\t\t[else]\r\n\t\t<div class=\"no-cover\">No hay portada para este n\u00famero.<\/div>\r\n\t\t[\/if]\r\n\t\t<div class=\"list\">\r\n\t\t\t<h5>Art\u00edculos<\/h5>\r\n\t\t\t[if numeros_articulos]\r\n\t\t\t\t<table>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>Orden art\u00edculo<\/th>\r\n\t\t\t\t\t\t<th>Art\u00edculos<\/th>\r\n\t\t\t\t\t\t<th>Autor\/a<\/th>\r\n\t\t\t\t\t<\/tr>\r\n\t\t\t\t[each numeros_articulos]\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td>{@order}<\/td>\r\n\t\t\t\t\t\t<td><a href=\"{@permalink,esc_url}\">{@numeros_articulos.post_title}<\/a><\/td>\r\n\t\t\t\t\t\t<td><a href=\"\/?p={@autor_articulo.ID}\">{@numeros_articulos.autor_articulo}<\/a><\/td>\r\n\r\n\r\n\t\t\t\t[\/each]\r\n\t\t\t\t\t<\/tr>\r\n\t\t\t\t<\/table>\r\n\t\t\t[else]\r\n\t\t\t<div class=\"no-article\">No hay aun art\u00edculos para este n\u00famero.<a href=\"\/wp-admin\/post-new.php?post_type=articulo?post_id={@revista.ID}\">\u00bfQuieres crear uno?<\/a><\/div>\r\n\t\t\t[\/if]\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div>",
            "id": 160,
            "_edit_last": "1",
            "_edit_lock": "1660199729:1",
            "pod_reference": {
                "pod": "numeros"
            }
        },
        {
            "name": "revista_template",
            "code": "<div class=\"revista\">\r\n\t<div class=\"thumbnail\">\r\n\t[if numero_revista]\r\n\t\t[if numero_revista.portada]\r\n\t\t<div class=\"cover\"><img source=\"{@numero_revista.portada._src}\"><img><\/div>\r\n\t\t[else]\r\n\t\t<div class=\"no-cover\">No hay portada para este n\u00famero.<\/div>\r\n\t\t[\/if]\r\n\t\t<div class=\"list\">\r\n\t\t\t<table class=\"table table-striped\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<th>N\u00famero<\/th>\r\n\t\t\t\t\t<th>T\u00edtulo<\/th>\r\n\t\t\t\t<\/tr>\r\n\t\t\t[each numero_revista]\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>{@numero_publicacion}<\/td>\r\n\t\t\t\t\t<td><a href=\"{@permalink,esc_url}\">{@numero_revista.post_title}<\/a><\/td>\r\n\t\t\t\t<\/tr>\r\n\t\t\t[\/each]\r\n\t\t\t<\/table>\r\n\t\t<\/div>\t\r\n\t[else]\r\n\t\t<div class=\"no-issue\">No hay n\u00fameros para esta revista. <a href=\"\/wp-admin\/post-new.php?post_type=numeros\">\u00bfQuieres a\u00f1adir un n\u00famero?<\/a><\/div>\r\n\t[\/if]\r\n\t<\/div>\r\n<div>{@informacion}<\/div>\r\n<\/div>",
            "id": 64,
            "_edit_last": "1",
            "_edit_lock": "1660018670:1",
            "pod_reference": {
                "pod": "revista"
            }
        }
    ]
}
sc0ttkclark commented 2 years ago

@zrothauser I think we bail after WP saves the post but before WP saves all the meta boxes data. Can we tweak that?