Open dbareis opened 1 year ago
Can you provide a package of your configuration (Pods Admin > Migrate Packages) using the Migrate Packages component (Pods Admin > Components)? That might help us to see if we can reproduce the issue.
{
"@meta": {
"version": "3.0.6",
"build": 1696462329
},
"settings": {
"types_only": "0",
"watch_changed_fields": "1",
"metadata_integration": "1",
"metadata_override_get": "1",
"session_auto_start": "0",
"wisdom_opt_out": "",
"media_modal_fields": "1",
"active_components": [
"migrate-packages",
"pages",
"templates"
]
},
"pods": [
{
"name": "newsletter",
"id": 31571,
"label": "Newsletters",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "Newsletter",
"public": "1",
"show_ui": "1",
"rest_enable": "1",
"supports_title": "1",
"supports_editor": "1",
"_migrated_28": "1",
"pick_object": "custom-simple",
"required": "0",
"groups": [
{
"name": "more_fields",
"id": 31572,
"label": "More Fields",
"description": "",
"weight": 0,
"fields": [
{
"name": "newsletter_file",
"id": 31573,
"label": "Newsletter File",
"description": "The PDF file to be uploaded",
"weight": 0,
"type": "file",
"sister_id": "-- Select One --",
"required": "0",
"file_format_type": "single",
"file_uploader": "plupload",
"file_type": "other",
"file_attachment_tab": "upload",
"file_upload_dir": "uploads",
"file_edit_title": "1",
"file_show_edit_link": "0",
"file_linked": "0",
"file_limit": "0",
"file_field_template": "rows",
"file_add_button": "Add Newsletter",
"file_modal_title": "Attach a file",
"file_modal_add_button": "Add File",
"file_wp_gallery_link": "file",
"file_wp_gallery_columns": "3",
"file_wp_gallery_size": "thumbnail",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"file_allowed_extensions": "pdf",
"file_upload_dir_custom": "Newsletters",
"logged_in_only": "0"
},
{
"name": "newsletter_issue_number",
"id": 31574,
"label": "Issue Number",
"description": "The issue number for this newsletter",
"weight": 1,
"type": "number",
"sister_id": "-- Select One --",
"required": "0",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_max_length": "5",
"number_html5": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1"
},
{
"name": "newsletter_issue_period",
"id": 31575,
"label": "Issue Period",
"description": "The period of time the newsletter covers",
"weight": 2,
"type": "text",
"sister_id": "-- Select One --",
"required": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "100",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"text_trim": "1",
"text_trim_lines": "1",
"text_trim_p_brs": "1"
},
{
"name": "newsletter_summary",
"id": 31576,
"label": "Newsletter Summary",
"description": "One line for item",
"weight": 3,
"type": "paragraph",
"sister_id": "-- Select One --",
"required": "0",
"paragraph_allowed_html_tags": "strong em a ul ol li b i",
"paragraph_max_length": "-1",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"enable_conditional_logic": "0",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"paragraph_trim": "1",
"paragraph_trim_lines": "1",
"paragraph_trim_p_brs": "1"
}
]
}
]
}
],
"pages": [
{
"name": "search-newsletters*",
"code": "",
"id": 31578,
"_edit_lock": "1696375214:3",
"_edit_last": "3",
"page_title": "Newsletter Search",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"restrict_redirect": "0",
"restrict_redirect_login": "0",
"page_template": "php-SEARCH-for-NEWSLETTERS.php",
"pod": "newsletter",
"_pods_roles_allowed": [
""
],
"_pods_capability_allowed": [
""
]
}
]
}
I can upload both fine in my testing with your package pod "Newsletter" and the "Newsletter File" field.
I'm curious if there's something else going on here, but it may be difficult to find without being able to test this on a site that has the same issue.
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?
Description
RE: https://wordpress.org/support/topic/pods-file-field-shows-uploading-bar-but-doesnt-upload/
When "Upload Works.pdf" (attached) is uploaded:
When "Upload FAILS.pdf" (attached) is uploaded:
Upload Works.pdf Upload FAILS.pdf
These are the options of the field:
Upload Only (Plupload) Other (customise allowed extension) pdf Custom Directory within the default direction Newsletters
On failure:
Version
3.0.6
Testing Instructions
No response
Screenshots / Screencast
No response
Possible Workaround
No response
Site Health Information
Pods Package