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

Image field doesn't export as a header in CSV #26004

Closed
waqasakramdot opened this issue Sep 6, 2023 · 3 comments · Fixed by #27776
Closed

Image field doesn't export as a header in CSV #26004

waqasakramdot opened this issue Sep 6, 2023 · 3 comments · Fixed by #27776
Assignees
Labels

Comments

@waqasakramdot
Copy link

Parent Issue

No response

Problem Statement

If a content type has an Image field, regardless of whether it is required or not, while exporting content for that content type the resulting CSV file doesn't contain an Image field header.

If an image field is required while importing, all those contents show an error (Field: "image" is required and was not found in the header) because the image field doesn't exist. The temporary solution is to read the image field in a CSV file and add all those image assets against it works, but It is not feasible if the contents are more.

Steps to Reproduce

  1. Create a content type with an Image and text field
  2. Add some contentlets for it
  3. Export contents
  4. The Image field will be absent

Acceptance Criteria

The Image field with values should be exported as other fields export in CSV file

dotCMS Version

23.1.5 -23.08.16

Proposed Objective

Customer Support

Proposed Priority

Priority 3 - Average

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

@waqasakramdot waqasakramdot changed the title Image field can't export in CSV Image field doesn't export as a header in CSV Sep 6, 2023
@waqasakramdot waqasakramdot added the OKR : Customer Support Owned by Scott label Sep 6, 2023
Copy link

github-actions bot commented Dec 6, 2023

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@erickgonzalez
Copy link
Contributor

Working as it should! Now the images field is exported:

Identifier,languageCode,countryCode,title,images
a9136bae947d86bd1113385ff478ba67,en,US,t1,/images/gallery/beach/resort-cottage.jpg

@josemejias11
Copy link

Approved: Tested on master_270ac3c, Docker, macOS 13.0, FF v121.0.1
Screenshot 2024-03-06 at 3 26 07 PM

@erickgonzalez erickgonzalez added the LTS : Next Ticket that will be added to LTS label Mar 11, 2024
@erickgonzalez erickgonzalez added Next LTS Release Shortlisted of issues that will be included in the upcoming LTS and removed LTS : Next Ticket that will be added to LTS labels Mar 15, 2024
erickgonzalez added a commit that referenced this issue Mar 15, 2024
erickgonzalez added a commit that referenced this issue Mar 25, 2024
@erickgonzalez erickgonzalez added Release : 23.10.24 v7 Included in LTS patch release 23.10.24 v7 Release : 23.01.14 Included in LTS patch release 23.01.14 and removed Next LTS Release Shortlisted of issues that will be included in the upcoming LTS labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants