﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2885	get_cached_row and hence select_related dead loop on circular ForeignKeys	bangcok_dangerus ( at ] hotmail.com	Adrian Holovaty	"select_related fails if there's a loop in !ForeignKey relationships. fill_table_cache, which recursively follows !ForeignKeys to generate the SQL query, was mentioned as a candidate for this in #2549 . This should now be fixed by the patch in #2874. get_cached_row, which recursively populates objects from the result of the query, suffers from the same problem.

I'll try get a patch up for this at some point.

-Basil"	defect	closed	Database layer (models, ORM)	dev	normal	duplicate			Unreviewed	0	0	0	0	0	0
