Undefined value in search results

Hi everyone,

I’m currently working with the latest development version of ERPNext and Frappe. I’ve encountered an issue when searching for a value in a custom DocType named “Texture”.

When I perform a search, the field label appears as “undefined” instead of the expected label. Here is a screenshot illustrating the issue:

Below is the relevant part of the texture.json file where the fields are defined:

{
  "allow_in_quick_entry": 1,
  "bold": 1,
  "fieldname": "texture_name",
  "fieldtype": "Data",
  "in_filter": 1,
  "in_global_search": 1,
  "in_list_view": 1,
  "in_preview": 1,
  "in_standard_filter": 1,
  "label": "Texture Name",
  "no_copy": 1,
  "oldfieldname": "item_name",
  "oldfieldtype": "Data",
  "unique": 1
}

Has anyone else experienced this issue or can provide insights on what might be causing the “undefined” value to appear? Any help would be greatly appreciated!

Thanks in advance!

Related Github issue:

Issue #27685 · frappe/frappe (github.com)

bumping this thread.

Any idea how to troubleshoot this?

Bump.