Skip to content

Replace the InvalidGridException in JointGrid:50 with a logged warning #148

@johanneshiry

Description

@johanneshiry

At the moment there is an InvalidGridException thrown whenever a JointGridContainer only consists of a single SubGridContainer. Based on the exception message ("This joint grid model only contains one single grid. Consider using SubGridContainer.") I would propose to replace the Exception with a warning so that one can still use a JointGridContainer with a single SubGrid even if this is not the intended by design.

The reason for this suggestion is, that there is no real disadvantage of using a JointGridContainer with a single grid only but there might be some benefits when working with a GridContainer that can become a JointGrid and a SubGrid during runtime.

Would like to read your opinions on this issue and if you would agree that replacing the exception with a warn logging would be sufficient?

Metadata

Metadata

Labels

help wantedExtra attention is neededinvalidThis doesn't seem rightquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions