Hello everybody,
lately I’ve encountered some odd behavior of Lift. Namely, if a snippet returns null, the following error message appears in development mode: … While technically correct (I think), in my opinion, that error message is misleading, since the method was indeed found, but returned null instead of some actual NodeSeq. Would it be possible to change the error message in future versions to reflect that? I first encountered the problem with Lift 2.5.1, but the problem persists in Lift 3.0-RC3.
I’ve attached a sample project that exhibits the behavior. Just type `sbt ~container:start` and navigate to 127.0.0.1:8080 to see the error message. The snippet is implemented in `src/main/scala/code/snippet/HelloWorld.scala`.
Should I open a ticket for this, or is this intended behavior?
Alex