Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Form stops to render page on account of a change in multiselect table field breaking the version history (v15.65.2) | GoodFirstPicks

Form stops to render page on account of a change in multiselect table field breaking the version history (v15.65.2)

frappe/frappe 2 comments 1mo ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

The issue involves a form rendering problem due to an undefined grid attribute in a table multiselect field.

AI Summary

The issue occurs when a form tries to render a page containing a table multiselect field, but fails because the `grid` attribute is undefined. This leads to a rendering halt. The problem seems to originate from the `version_timeline_content_builder.js` script. The exact doctype structure is needed to reproduce the issue, which is currently missing.

Issue Description

Description of the issue

I have a table multiselect field in the record, when the form loads, it stops rendering:

Context information (for bug reports)

This issue arises because the version_timeline_content_builder.js script is trying to read the attribute grid of a tablemultiselect field which doesn't exist.

cur_frm.fields_dict['diagnosis'].grid
=>undefined

Originates from here:

	if (data.row_changed && data.row_changed.length) {
		let parts = [];
		data.row_changed.every(function (row) {
			row[3].every(function (p) {
				var df =
					frm.fields_dict[row[0]] &&
					frappe.meta.get_docfield(
						frm.fields_dict[row[0]].grid.doctype,  <======= grid is undefined
						p[0],
						frm.docname
					);

Image

Output of bench version

bench: 5.24.1
frappe: version-15 (v15.65.2)

Steps to reproduce the issue

  1. Added title field in a record used in a table multiselect field
  2. Page fails to load on modified records

Observed result

Expected result

My thinking is that Table Multiselect should be spec

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • requires understanding of form rendering
  • potential cross-cutting changes
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno
AssigneeGursheenK