-
Notifications
You must be signed in to change notification settings - Fork 467
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
Error publishing a page from variant editing: "Bad request error" #30726
Comments
Note for IQA: Make sure the case exist in: https://github.com/dotCMS/core/blob/main/docs/test-cases/Experiments.csv if not please add a new line. |
…30726 (#31001) ### Proposed Changes * Conditionally render the `<dot-uve-workflow-actions>` component in the `EditEmaToolbarComponent` when `isDefaultVariant` is true. * Update the `ToolbarProps` model to include the `isDefaultVariant` property. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable) ### Additional Info The `isDefaultVariant` property determines whether the current page variant is the default. The `<dot-uve-workflow-actions>` component is displayed only when this condition is met, preventing errors from triggering workflow actions on variant editing pages. **Slack conversation:** https://dotcms.slack.com/archives/CQMHM7PNJ/p1734635875445969 ### Screenshots #### Before https://github.com/user-attachments/assets/f1d938e7-4dca-4fd4-a7aa-89872bb15be9 #### After https://github.com/user-attachments/assets/b8d0a20a-04de-4e51-acd8-59b766198255
NOTE TO QAAfter discussing in this conversation https://dotcms.slack.com/archives/CQMHM7PNJ/p1734635875445969, we agreed to simply hide the WF action button from the toolbar when editing the variant of an experiment. |
IQA PassedNow we are hiding the button when editing variants on the old toolbar For architectural reasons, we couldn't add this fix on the new toolbar, but we will address this behavior in this ticket #30940 We are still on development phase and this must be addressed before releasing the new toolbar. DotCMS Docker Image: ScreenshotScreen.Recording.2024-12-26.at.2.35.54.PM.mov |
Problem Statement
When attempting to publish a page from the variant editing interface, users encounter a Bad request error. The error message indicates that the content is not in a new, live, or working version, and as a result, the page cannot be published. This issue disrupts workflows for content creators and administrators who rely on variant editing for managing and publishing pages. It prevents the successful publication of pages, impacting website updates and user experience.
Steps to Reproduce
Acceptance Criteria
Ensure that pages can be successfully published from the variant editing interface without encountering the error.
dotCMS Version
Tested on the latest agile release // Docker // FF
Proposed Objective
Quality Assurance
Proposed Priority
Priority 2 - Important
The text was updated successfully, but these errors were encountered: