Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Circular layout reference leads to OutOfMemoryException #3100

Closed
@axefrog

Description

@axefrog

In one of my views folders, I renamed a controller-specific layout from the default to something custom. The layout itself referenced a shared layout of the same name prior to renaming. DropBox then, unbeknownst to me, malfunctioned (as it is prone to do) and dropped a copy of the old layout, before it had been renamed, into my views folder, thus creating a situation where the newly-renamed layout was now erroneously trying to use the old layout which it now sat side-by-side with, instead of the old layout's namesake in the shared views folder. As a result, a circular reference was set up and I spent the next 20 minutes trying to figure out why I was getting OutOfMemoryExceptions when I hadn't changed anything significant.

I'd suggest some kind of circular reference detection in layouts and an exception being thrown to that effect, which would help prevent this kind of confusion.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions