Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
Drupal
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 50
    • Issues 50
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Development
  • Drupal
  • Issues
  • #27

Closed
Open
Opened Jul 26, 2018 by JKingsnorth@JKingsnorth

Custom fields with duplicate labels are not displayed correctly in views

Steps to recreate:

  • Create a custom field group associated with organisations, add a field with the label 'Role' (eg: ID 1)
  • Create a custom field group associated with individuals, add a field with the label 'Role' (eg: ID 2)
  • Create a view which exposes the second 'role' field on a contact record
  • The field is always empty

Reason:

  • The custom field handler is searching for the field ID based on the label of the field, which is a loose search

Remedy:

  • Tighten the custom field handler to search for the ID of the field based on the unique column name
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
5.5.0
Milestone
5.5.0
Assign milestone
Time tracking
None
Due date
None
Reference: dev/drupal#27