Description
Problem Statement
When running a dotCLI command like the following.
dotcli files pull //demo.dotcms.com -e
and a folder that is going to be pulled contains parentheses it throws the following error.
[ERROR] ❗ Error retrieving folder information [/application/(testFolder)/]
HTTP 404 Not Found: The requested resource was not found or is restricted.
jakarta.ws.rs.NotFoundException: Status: (404) With error: {
"message" : " Asset [application(testfolder)] not found"
}
Removing the parentheses from the folder name resolves the issue.
Steps to Reproduce
I did the following to recreate this locally.
- Ensure dotCLI is installed and configured to my local environment.
- I ran the following command in terminal to download the files to ensure it was working
dotcli files pull //demo.dotcms.com -e
- I checked the files pulled to see which I could adjust to contain parentheses to test, adjusted a folder accordingly
- I ran the command again and received the error.
dotCLIParentheses.mp4
Acceptance Criteria
Ensure that dotCLI handles parentheses in folder names correctly.
dotCMS Version
25.03.14
24.12.27 LTS
Proposed Objective
Customer Support
Proposed Priority
Priority 3 - Average
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.freshdesk.com/a/tickets/30880
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status