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

Relationship Field showFields Field Variable value showing identifier instead of id field #29018

Closed
nathan-hildebrandt opened this issue Jun 26, 2024 · 2 comments · Fixed by #30749

Comments

@nathan-hildebrandt
Copy link

nathan-hildebrandt commented Jun 26, 2024

Parent Issue

No response

Problem Statement

When there is a text field named "ID" in the related content, and the parent content has a showFields Field Variable applied with id set as a value, instead of displaying the information within the id field, it pulls the identifier of the related content.

Steps to Reproduce

On the demo site I have added an ID field to the Activities content type as well as putting the key showFields on Destination with the value of id. Select an activity, type in anything into the ID field, then open a Destination that would include that contentlet and you'll see the identifier instead of the information typed into the ID field.

Acceptance Criteria

Pulls from the id field instead of the identifier, if there is no field named ID fallback to the identifier.

dotCMS Version

23.10
23.01
24.06

Proposed Objective

User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.zendesk.com/agent/tickets/116964

Screenshot 2024-06-26 at 11 16 57 AM
Screenshot 2024-06-26 at 11 16 40 AM

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@dsolistorres
Copy link
Contributor

Internal QA Approved:

  • The id field value is shown now if it is set and the 'showFields' field variable is set to 'id', otherwise the value of the related content identifier is shown in the related content listing:
id-field-related-content

@dsolistorres dsolistorres moved this from Internal QA to QA - In Progress in dotCMS - Product Planning Dec 11, 2024
@dsolistorres dsolistorres moved this from QA - In Progress to Done in dotCMS - Product Planning Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment