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

Edge PP issues #30370

Open
3 tasks done
wezell opened this issue Oct 16, 2024 · 2 comments · May be fixed by #30380
Open
3 tasks done

Edge PP issues #30370

wezell opened this issue Oct 16, 2024 · 2 comments · May be fixed by #30380

Comments

@wezell
Copy link
Contributor

wezell commented Oct 16, 2024

Problem Statement

Working with Marc on identifying PP issues that are preventing him from importing a bundle.

  • Folder on a non-pushed host gets dragged along in the dependency tree

Failed to Publish Failed to publish because an error occurred: An error occurred when processing Folder in '/data/shared/assets/bundles/01J9Y3ERJFZ37E3GY8SBYJ7E2N/ROOT/1753550752892eb018ce8cee7ecc2178.folder.xml': You can only create an identifier on a host of folder. Trying: null

  • Container with live!=working inode

fails to publish because it seems we are only pushing the live inode/version but we try to write the container_version_info from the sender, which references a working inode that might not exist on the receiver.

  • Content on a non-pushed host get dragged along and fails to publish

Failed to publish because an error occurred: An error occurred when processing Contentlet: You can only create an identifier on a host of folder. Trying: null

Steps to Reproduce

Ask me for the broken bundle.

Acceptance Criteria

the bundle should import without issue.

dotCMS Version

latest

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@wezell
Copy link
Contributor Author

wezell commented Oct 17, 2024

This change introduces a minor breaking change in that it disables the antique /DotAjaxDirector/com.dotcms.publisher.ajax.RemotePublishAjaxAction/cmd/uploadBundle endpoint and suggests to use the /api/bundle/sync endpoint to upload a bundle.

The old endpoint can be reactivated if needed by setting the variable DOT_ENABLE_OLD_BUNDLE_UPLOAD_ENDPOINT = to true

@wezell wezell changed the title PP issues Edge PP issues Oct 17, 2024
wezell added a commit that referenced this issue Oct 17, 2024
…hed hosts gets dragged along by dependency, and containers in a drafted state fail to publish

ref: #30370
wezell added a commit that referenced this issue Oct 17, 2024
…hed hosts gets dragged along by dependency, and containers in a drafted state fail to publish

ref: #30370
wezell added a commit that referenced this issue Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment