Skip to content

When a folder contains Parentheses dotCLI pulls error. #32075

Closed
@nathan-hildebrandt

Description

@nathan-hildebrandt

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.

  1. Ensure dotCLI is installed and configured to my local environment.
  2. I ran the following command in terminal to download the files to ensure it was working dotcli files pull //demo.dotcms.com -e
  3. I checked the files pulled to see which I could adjust to contain parentheses to test, adjusted a folder accordingly
  4. 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

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions