-
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
Can't Import Page Assets using the export file #28306
Labels
OKR : Customer Support
Owned by Scott
Priority : 2 High
QA : Approved
Release : 23.01.18
Included in LTS patch release 23.01.18
Release : 23.10.24 v11
Included in LTS patch release 23.10.24 v11
Release : 24.04.24 v3
Included in LTS patch release 24.04.24 v3
Release : 24.06.06
Bug Fixing
Team : Bug Fixers
Type : Defect
Comments
erickgonzalez
added
Type : Defect
Triage
OKR : Customer Support
Owned by Scott
Team : Bug Fixers
Priority : 3 Average
Priority : 2 High
and removed
Triage
Priority : 3 Average
labels
Apr 19, 2024
dsolistorres
added a commit
that referenced
this issue
May 24, 2024
dsolistorres
added a commit
that referenced
this issue
May 24, 2024
dsolistorres
added a commit
that referenced
this issue
May 24, 2024
1 task
github-merge-queue bot
pushed a commit
that referenced
this issue
May 29, 2024
### Proposed Changes * This change will handle the URL field when importing pages to dotCMS * The URL field will be split in folder parent path and asset name. For example the URL "/parent1/parent2/test-page" will be used to import the page to the folder "/parent1/parent2" with the name "test-page" * If the import file contains the "hostFolder" field, it it points to a folder instead of a site, that value will take precedence to set the folder target for the imported page. ### Checklist - [x] Tests --------- Co-authored-by: freddyDOTCMS <147462678+freddyDOTCMS@users.noreply.github.com> Co-authored-by: erickgonzalez <erick.gonzalez@dotcms.com>
spbolton
pushed a commit
that referenced
this issue
Jun 3, 2024
### Proposed Changes * This change will handle the URL field when importing pages to dotCMS * The URL field will be split in folder parent path and asset name. For example the URL "/parent1/parent2/test-page" will be used to import the page to the folder "/parent1/parent2" with the name "test-page" * If the import file contains the "hostFolder" field, it it points to a folder instead of a site, that value will take precedence to set the folder target for the imported page. ### Checklist - [x] Tests --------- Co-authored-by: freddyDOTCMS <147462678+freddyDOTCMS@users.noreply.github.com> Co-authored-by: erickgonzalez <erick.gonzalez@dotcms.com>
Fixed, now we are able to import pages using the exported files without problems.. Tested on the latest trunk env // Docker |
erickgonzalez
added
the
Next LTS Release
Shortlisted of issues that will be included in the upcoming LTS
label
Jun 7, 2024
erickgonzalez
added a commit
that referenced
this issue
Jun 13, 2024
erickgonzalez
added a commit
that referenced
this issue
Jun 17, 2024
erickgonzalez
added a commit
that referenced
this issue
Jun 18, 2024
erickgonzalez
added
Release : 24.04.24 v3
Included in LTS patch release 24.04.24 v3
Release : 23.10.24 v11
Included in LTS patch release 23.10.24 v11
Release : 23.01.18
Included in LTS patch release 23.01.18
and removed
Next LTS Release
Shortlisted of issues that will be included in the upcoming LTS
labels
Jun 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
OKR : Customer Support
Owned by Scott
Priority : 2 High
QA : Approved
Release : 23.01.18
Included in LTS patch release 23.01.18
Release : 23.10.24 v11
Included in LTS patch release 23.10.24 v11
Release : 24.04.24 v3
Included in LTS patch release 24.04.24 v3
Release : 24.06.06
Bug Fixing
Team : Bug Fixers
Type : Defect
Parent Issue
No response
Problem Statement
If you try to use the export tool to export all Page Assets and import it afterward it fails with the following error message
"badType: url"
Steps to Reproduce
1- Export Page Asset contentlets using the Export Tool (the one under the 3 dots on the right).
2- Try to import that CSV.
3- Get the error
Acceptance Criteria
Import should work since it's using the Export file as it is.
Slash should be stripped from the URL when validating.
dotCMS Version
All LTS versions and Master.
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.zendesk.com/agent/tickets/116011
Assumptions & Initiation Needs
Here is the issue:
core/dotCMS/src/main/java/com/dotcms/content/elasticsearch/business/ESContentletAPIImpl.java
Line 8080 in 264995d
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: